From: Andrew T. <ajt...@hi...> - 2006-05-02 12:58:27
|
I had thought about the possibilities of a Rails-style PHP. I've actually been doing a lot of rails programming recently (in addition to this project :) We don't need a full ORM, too much effort for something we don't really need. I think the idea of routes is very interesting. Being able to do fofredux/feeds/ajturner/new or something instead of the nasty view.php?.. &... & .. & .. & that we currently have. Though how are are we passing around these view variables? Via a session? And I think the views will be very similar to the rhtml files of Ruby. Simple calls in the HTML to PHP commands. Andrew On 5/1/06, Kevin <ke...@dr...> wrote: > > > This is just proof of concept... So no routing etc have been > > implemented... > > > > http://v.rummanddan.dk/article/view/12344 > > > > You can get the source at... > > > > http://v.rummanddan.dk/vc.tar > > > > I would happily contribute to this project, so let me know if its > > something you would go for... I didnt implement an ORM (ActiveRecord > > in rails) thats a whole lot of work itself, but I read you are > > discussing to do that yourself anyway :) > > Thanks, > > Just a few quick comments after peeking at the code: > > I like the REST style URI handling of the dispatcher. It makes it clean > and pretty easy to follow. > > I'm not clear on what you mean by routing. Is that like forwarding from > one controller to another? (ex: redirecting to a login screen, etc) If > you could provide an example on how that is used, it would help. > > We have a fair amount of code around accessing the database. I don't wan= t > to try and convert it to an ORM package. It'd be too much work with littl= e > benefit. > > -- > Kevin > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job ea= sier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmdlnk&kid=120709&bid&3057&dat=121642 > _______________________________________________ > Fofredux-devel mailing list > Fof...@li... > https://lists.sourceforge.net/lists/listinfo/fofredux-devel > -- Andrew Turner ajt...@hi... 42.4266N x 83.4931W http://highearthorbit.com Northville, Michigan, USA |