Re: [studs-user] studs 0.9.6 is out!
Status: Beta
Brought to you by:
mojavelinux
|
From: Dan A. <dan...@gm...> - 2005-06-27 14:43:30
|
Greg, A lot of the points you are making about error handling in PHP are well founded. I actually went the opposite way from you, moving from PHP to Java. In doing so, found that error handling was much more explicit and well defined in Java. The error catching scenario I implemented in Studs acts somewhat like Runtime exceptions in Java.=20 However, because PHP has a very sloppy way of dealing with errors, it doesn't always work the way you would expect. What happens is that certain errors in PHP actually halt the program, rendering the handling of exceptions hopeless. Much of this is fixed in PHP5, thankfully, and as time goes on, Studs will start to take advantage of what PHP5 has to offer in this realm. I would very much like to get your feedback about Studs as you work on your project. What causes you trouble (you mentioned the error handling, so I am looking into making that easier)? What feels too laborous? What ideas do you have that could make it better? Any feedback you provide will be most helpful. You can take a look at the TODO file in the root of the source tree to get an idea of what I have planned for the future. One big advantage of PHP is the instant feedback...no build required.=20 Even when you do run into an error in a PSP page or an action class, you can jump to the line, fix it and hit the page again (or run the unit test). No need to kick off ant to rebuild the whole thing. I miss that every day that I develop java apps. Be sure to check out the unit testing framework that ships with Studs. It isn't the fanciest thing around, but it definitely works and will give you the comfort of TDD within PHP. Looking forward to hearing from you! /dan On 6/27/05, Greg Heartsfield <sc...@im...> wrote: > Excellent... I've just started a project with Studs, my first PHP > project of any kind. I have many years of java/struts experience, so > Studs seemed like a logical choice. I must say, after a week of much > frustration (mostly with PHP I think), I'm getting the hang of it and > making solid progress. I'm looking forward to trying out the new > release, and if I have any ideas for improvements, I'll send them > your way. My initial impressions lead me to think the area that > needs most improvement is error handling and reporting... I've spent > quite a bit of time hunting down bugs in my code that Tomcat/Struts > would have been more explicit about. Again, much of that may be > because I'm new to PHP. >=20 > I wouldn't have attempted to do what I'm doing now with any of the > other MVC PHP frameworks, so I certainly thank you for making finding > web hosting much easier (not to mention cheaper). >=20 > Thanks! > Greg Heartsfield >=20 >=20 > On Jun 27, 2005, at 1:08 AM, Dan Allen wrote: >=20 > > Alright folks, you asked for it. Studs MVC Framework+ is now PHP 5 > > compliant! It took a bit of hacking to work around all the new > > reserved keywords and requirements, but we got it done! > > Go grab it today, bend it, twist it and see if it works for you. > > > > Short list of new features: > > > > - php5 support > > - template tag library for Studs > > - bug fixes > > > > Enjoy! > > > > /dan > > > > -- > > Open Source Advocacy > > http://www.mojavelinux.com > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dclick > > _______________________________________________ > > studs-user mailing list > > stu...@li... > > https://lists.sourceforge.net/lists/listinfo/studs-user > > >=20 >=20 --=20 Open Source Advocacy http://www.mojavelinux.com |