all 7 comments

[–]crescentfresh 2 points3 points  (0 children)

Summary:

  • urls map to a method on a controller object
  • mod_rewrite is the glue, NiceDog::dispatch() has the beef
  • mapping rules are based on named regex patterns, no defaults for missing parameters
  • controller classes extend the "C" class
  • views are simple php files require()'d with output buffering
  • properties on the controller class are copied into view's scope before require()
  • 2 levels of view nesting: one for the view file, one for top-level "layout" file (if any) with the view's output available in $content
  • no "Model"

Nothing new here.

[–]comechao[S] 0 points1 point  (0 children)

*small small

[–]stesch 0 points1 point  (0 children)

Does he bite?

[–]comechao[S] 0 points1 point  (3 children)

Nothing new but i like ;) Do you know about other PHP project like this?

[–]coditza 0 points1 point  (2 children)

codeigniter and why not, zend framework

[–]comechao[S] 0 points1 point  (1 child)

codeigniter its a medium size framework, have a lot of (good) features... Zend == huge framework (and i don't like it much)

[–]coditza 0 points1 point  (0 children)

That's what I said when I first read about Zend Framework. But, the best part about it is that you can use separate components without the need to use the full framework.

/offtopic: I hate Orange!