Skip to content

Instantly share code, notes, and snippets.

@shimondoodkin
Created June 25, 2010 21:05
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shimondoodkin/453442 to your computer and use it in GitHub Desktop.
Save shimondoodkin/453442 to your computer and use it in GitHub Desktop.
it is a copy of a header from one of the files.
tell me what you thing about the plan.
the framework is complete about 20%
//
//
// how it works?
// server
// \----\
// | app skeleton // creates an app object
// | app modules // extends app object with application objects and functions
// | serving // extends app object with serving functionality and initialization logic.
//
// the idea:
// to create somthing similar to hkvstore.com's Phpmaker or Aspmaker or Microsoft Dot.NET 3 sp1 DynamicData application.
// an application generation framework. to generate nodejs+mongodb(+nginx) applications.
// in those modes of development you configure the data model,
// and all else is kind of, generated or code reused, to create data managment web application.
// quickly and easyly with very little effort
//
//
// logical object model:
// application
// \---------\
// |- shared models
// |- shared templates of pages
// |- shared functions of pages
// |- shared urls
//
// a module extends the application's shared objects.
// shared means shared between all moduls in the application.
// a module contains aapplication definition code.
// application definition can be spread between many moduls for convinience
//
// you define a model in a module, then call kind of a macro function
// that adds all (edit,add,delete,list) functions and templates and urls to the application
// as defined by that model.
// also you can define all thouse by your self.
//
// templates system:
// what is good about phpmaker is that it allows you easyly define an application,
// what is good in dot net DynamicData is that the templates are like components.
// in templates you have: fields/textfiled.html, paritials/grid.html, pages/list.html
// all files composed together.
//
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment