4 ms·
Thanks. 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
by gilbitron 12y ago
Thanks. 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.