From: Evan R. <eva...@gm...> - 2006-05-02 14:07:56
|
hey guys, i get the feeling we are going in the right direction here...perhaps even a bit over-doinging it, but if it's good, then why not. Personally, i'm not a fan of the url rewrite style...but i know i'm in the minority there, so if you guys go for it, then i can play along.=20 i prefer my querystring with a few items that are changeable...whereas we really don't have so much....and if you are still going to be working in the frameset (which it looks like is included in our UI redo), you won't really see the url much anyway...so it's ok for the user. but i really don't care...it's not a battle worth fighting for me. what could become more of an issue, is perhaps php4 vs php5, as we've seen with the class structure and so on. if we want to do something OO in php, we might want to think about moving completely to php5, since 4 is not considered real OO. and it'd make our implementation a bit easier to do once correctly. but in doing so, we don't want to lose any users. i've been on php5 for a long time now, but i can't talk for anyone else. would it be possible to take this step, or is it too early for something like that? in other news, i'll try to fix that bug in my php4 incompatible options class tonight, but then i'll need to take some time off. i've got some urgent issues to take care of outside of the project.=20 hopefully i can be back up and running in a week, in time to start implementing khaled's design. but i still am available to mail, since i can do that from work. /evan On 5/2/06, Kevin <ke...@dr...> wrote: > Dan Thrue wrote: > > Hi Kevin, > > > > I have put some examples up on rendering other views, executing other > > action, and howto redirect... Its in an updated tarball on the same > > location /vc.tar :) > > > > Regarding routing it was to control parameters and url layout... In > > rails you do something like: > > > > map.connect 'profiles/:username', :controller =3D> 'profile', :action > > =3D> 'view' > > > > I could easily implement something similar, as I've said in my two > > earlier posts, this is just coded as proof-of-concept but it should be > > fairly easy to make it fully usable... > > > Thanks. I also found this URL which covered it pretty well. > http://manuals.rubyonrails.com/read/chapter/65 > > Routes look pretty cool, but I don't think we need them right now. We > should be able to cover all of our actions/views by using the default > '<controller>/<action>/<paremeters>' URI format. > > The redirect examples were helpful. It just goes to show how easy it is > to extend. You added one method to the base controller, and now > there's a simple/flexible way of redirecting between pages. > > I like it. It's simple and easy to follow, yet pretty powerful. It's > based on rails, which a few of you already have experience with. I'll > try and converting one of our pages to it and see how it goes. > > -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?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Fofredux-devel mailing list > Fof...@li... > https://lists.sourceforge.net/lists/listinfo/fofredux-devel > |