I seem to be writing a web-app framework. Any advice?
- Not opinionated - this isn't Rails. Not every web-app consists of creating, maintaining and displaying lists. Users should be free to structure their apps however is most appropriate.
- Nested component architecture - pages are made from re-usable components, which can contain other components. A component should contain the data-structures, logic and presentation details for given type of operation. This is a bit ad-hoc right now, but my attempt to write about it has convinced me to formalize it.
- Modular - the various parts of the framework will talk to each other in clearly-defined ways, so they can be replaced when they're not appropriate.
Do any of the things I've mentioned sound like especially good ideas or bad mistakes? What kinds of features would you like to see in a framework? What kinds of misfeatures would you like to never see again?
8 comments
[ 3.0 ms ] story [ 28.8 ms ] threadI just started working on a site using Hunchentoot and CL-WHO as well, send me a note if you're interested in collaborating.
explain to me how you intend to let users get to the data? Not pages but raw data (xml, rss, microformats etc). Oh that and cool-uri's. URI's created in a lot of frameworks suck. How are you going to create cool uri's? ~ http://www.w3.org/Provider/Style/URI
As for raw data, right now, I'm only outputting HTML, but JSON, XML and RSS are on my to-do list. Making a component that spits out something other than HTML won't require anything special.