> > I like wiki's, am impressed by Twiki, and like the idea of more "best > > practices" CGI::Apps available as open source. So I support this > > project. However, I want to spend my own spare cycles turning Cascade > > [1] into such an application. It's already written and working as a I'm in much the same boat as Mark on this issue. I have a slew of projects using CGI::App in various stages of development that I don't imagine I'd be able to invest much time in starting another project from scratch. One of the earliest problems that I foresee are people that have been using CGI::App for a long (such as Mark, myself, and numerous others on the list) having differing view points on exactly what the best practice for a certain operation is. i.e. Setting a cookie, Reading a config file, storing session information, logging in a user, querying a database, sorting database records, etc, etc. The discussion alone on each of these points could grind development of any useful application to a snail's pace. Too many chief's, not enough Indians. If people really want to get started on the topic of best practice scenarios using CGI::App I'd suggest we first create a comprehensive list of scenarios for which we would like to catalog the best practices for. Once we have a list, people can start to submit descriptions, suggestions or code relevant to each scenario, and then we can begin to discuss pros, cons, benefits, draw-backs of each practice. In the end we may not necessarily come up with one 'best' practice for each scenario, but instead have a list of viable solutions which can be used by a programmer based on the requirements & constraints of the system they are planning to develop. The outcome of collectively developing best practice guidelines in this manner (IMHO) would result in a much more accessible wealth of information, techniques and relevant discussion instead of burying the best practices in code. New, intermediate & advanced CGI::App developers would all benefit both in accessing the information and ease of contribution to individual topics. Look at the list of features that Mark mentioned he would like to add to his project: >> - Switch to CGI::Session for session handling >> - use Data::FormValidators new validation features >> - use new OO image upload module (recently mentioned here) >> - better MVC design >> - possibly use mod_auth_pg >> - better error handling / logging, possibly with Log::Log4Perl >> - better testing practices, using Test::More, WWW::Mechanize, >> Test::DatabaseRow...and friends. Every single item on that list merits a discussion on best practice guildlines to successful achieve them. And I'm sure that from these discussions and guidelines, we would start to see emerging concepts that could then be turned into modules to assist in the seamless development of CGI::App modules ... CGI::App::Session, CGI::App::Cookie, CGI::App::Test, CGI::App::Config. The list could be endless. Anyways, those are my couple cents for the day. Hope everyone has a good weekend. --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/suppressed/ To unsubscribe, e-mail: suppressed For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.