| Apache2::ASP - ASP for Perl, reloaded. |
Apache2::ASP - ASP for Perl, reloaded.
<html> <body><%= "Hello, World!" %></body> </html>
<html> <body> <% if( $Form->{favorite_color} ) { %> Your favorite color is <%= $Server->HTMLEncode( $Form->{favorite_color} ) %>. <% } else { %> What is your favorite color? <form> <input type="text" name="favorite_color"> <input type="submit" value="Submit"> </form> <% }# end if() %> </body> </html>
Apache2::ASP scales out well and has brought the ASP programming model to Perl in a new way.
This rewrite had a few major goals:
Like ASP.Net has, including nested Master Pages.
Like ASP.Net has.
The original config format was unsatisfactory.
Configuration was the root of this problem.
NOTE: If you use an ORM, make sure your ORM doesn't have any "global" configuration object in memory, unless it is schema-aware. the DBIx::Class manpage is good and the Class::DBI::Lite manpage also works well with Apache2::ASP. Do not use the Class::DBI manpage with Apache2::ASP because of configuration overlap problems which arise when you have 2 tables with the same name in 2 different databases.
Server resources were being wasted on unnecessary activities like storing session state even when it had not changed, etc.
It's possible that some bugs have found their way into this release.
Use RT http://rt.cpan.org/NoAuth/Bugs.html to submit bug reports.
Please visit the Apache2::ASP homepage at http://www.devstack.com/ to see examples of Apache2::ASP in action.
John Drago <jdrago_999@yahoo.com>
Copyright 2008 John Drago. All rights reserved.
This software is Free software and is licensed under the same terms as perl itself.
| Apache2::ASP - ASP for Perl, reloaded. |