leikahing / co-squared Goto Github PK
View Code? Open in Web Editor NEWA custom blogging engine written in Ruby - stylized as co²
Home Page: mochify.com/projects/coco
License: Other
A custom blogging engine written in Ruby - stylized as co²
Home Page: mochify.com/projects/coco
License: Other
Literally what it is - hit up http://your-domain.com and get the index listing of your blog. This is something like:
get '/' do |id|
# do something to get index
# display page
# haml :page
end
Users are the people who are registered with a specific blog. Each user is also associated with various roles (like writer, administrator, moderator, etc. etc.).
User model should have fields for at least the basics:
Has a relation to Role. As a user can be bound to many roles. This is a has-and-belongs-to-many relationship.
Role model is going to be rather simple, to start it can probably look like this:
This task does not consider a system that features custom roles, as there is zero driver for such a system at this time.
Right now, the models.rb code does not respect pre-existing tables and will clobber them with abandon once we reload the models. Fix the use of DataMapper so it doesn't hose the database.
The basic Sinatra/HAML/SASS/etc. experimentation is over, let's move over to Padrino to escape the boiler plate.
Means changing the Gemfiles, at least, and perhaps changing up some of the model code and application base.
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.