From: Dan T. <da...@an...> - 2006-05-02 13:56:44
|
Hi Andrew, I dont know if you looked at my example... > that we currently have. Though how are are we passing around these > view variables? Via a session? But in my example each controller (and view) has the variables in a $this->get['id'] like the params[:id] or params['id'] in rails... :) For /:controller/:action/:id its working allready... Is it something I should take a shot at finishing for a simple integration for this project? Out of interest how many is reading this list? :) I have seen that not that many different people interact in the discussions. :) Regards, Dan On 5/2/06, Andrew Turner <ajt...@hi...> wrote: > 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 clea= n > > and pretty easy to follow. > > > > I'm not clear on what you mean by routing. Is that like forwarding fro= m > > one controller to another? (ex: redirecting to a login screen, etc) I= f > > 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 w= ant > > to try and convert it to an ORM package. It'd be too much work with lit= tle > > benefit. > > > > -- > > Kevin > > > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, securit= y? > > Get stuff done quickly with pre-integrated technology to make your job = easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > > 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 > |