3 ms·
Really cool stuff! I actually wrote a [flat-file CMS](https://github.com/AntJanus/popstar-cms https://github.com/AntJanus/popstar-cms) in Node as well, wasn't d
by antjanus 12y ago
Really cool stuff! I actually wrote a [flat-file CMS](https://github.com/AntJanus/popstar-cms https://github.com/AntJanus/popstar-cms) in Node as well, wasn't disappointed to see that my code and Raneto's code bares a good deal of similarities!
- gilbitron 12y agoThanks. I actually created a flat-file CMS in PHP called Pico (http://picocms.org http://picocms.org) so I built on some of the lessons I learned creating Pico when building Raneto.
- antjanus 12y agoI'm looking through it, I'm impressed by your plugins. I'm hoping to introduce that kind of structure into my application (hooks for remote posting, etc.). But gotta add one piece of functionality at a time! I haven't looked through your code completely so let me ask you something, what kind of an object do you pass to your templates? Do you pass the entire tree of information (all contents parsed as a JS object), or do you pass the current + children + parent? I'm just wondering. What I'm currently doing is sending the top-level content, current page, and children along with all of their information.