I put a post about something that I see could be a great Web Framework.
https://plus.google.com/106336405206268952858/posts/BRLZB2fZJHTBasically learning from the success of Cisco and Oracle APEX. what if we have a text file that can build dynamically your web application in NodeJS. pretty cool because you can just copy/pase a simple text file with the simplicity of that and let the framework build the application.
Optionally the data for the site can be included in other data files, the magic of all this is the main file to build the application which can be a simple text file and I'm thinking some CLI shell let you interact and change some of those values, which make the application super easy to manage from the command line. Including changing Layouts/Themes, add regions. automatically generate the navigation and add/remove content.
Yes once build the typical methods like GIT will be able to publish to your preffered site, but the beauty is the magic of just copy/paste a text file and have the assurandce that everything works from there.
My question to the list is what is the best way to store this information. for example:
Version 0.0.1
Site
title : 'My Site'
url: '
http://mysite.com'
webmaster:
webm...@mysite.com navigation : [ Home, Products, Services, About Us ]
!
Model
!
View
!
Controller
!
Resources
!
end
As you can see the main configuration text file can growth and give all the configuration options to the framework. my question to the list is : What is the best format to put all this information so NodeJS can read it easily and parse it as objects to be able to modify either from a CLI or just read and execute from the shell.
THX Any ideas/suggestions are welcome !!!.