ajaxm / multiverse Goto Github PK
View Code? Open in Web Editor NEWCollaborative poetry-writing!
Collaborative poetry-writing!
I don't think the current schema is a good model for storing poems and associated stanzas.
Storing the first_stanza
differently from other stanzas is asking for trouble. Just create a Stanza model when the poem is created.
Why does last_line
need to be separated from a stanza's body
?
There doesn't seem to be a way to keep track of where in a poem a stanza occurs. I would drop the poems.first_stanza
column and add a stanzas.order
column (integer, the "index" of the stanza in the poem)
Keeping a poems.completed
column and a poems.num_stanzas
column seems redundant. If you set the number of stanzas on creation, then a poem is completed when num_stanzas
equals the count of associated stanzas (and it should be calculated, not stored in a column). If users finalize poems manually, then num_stanzas
should be calculated instead.
Cool project idea! It'll be neat to see how it turns out. Other bonus ideas: ratings (for entire poems or for individual stanzas), poetry collections/albums, associated artwork for poems, search (maybe with typeahead), pagination, etc. Maybe file upload (for dramatic readings?)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.