Hello,
Wanted to announce the features of a module on which I am putting the finishing
touches in order to gauge community interest. The module is built upon and
extends CGI::Application. It is used just like cgiapp. CGI::Application
provides basic application framework, like normal. DMart provides basic
"commerce harness". Project seeks to integrate "best of breed" modules, provide
standard templates, and a unified configuration file to an e-commerce project.
Module attributes listed below. First release in 1 to 2 months. Feedback
encouraged and appreciated!
Thanks.
Bill Catlan
- CGI::Application provides basic application framework
- DMart provides basic "commerce harness". Project seeks to integrate "best of
breed" modules, provide standard templates, and unified configuration to an
e-commerce project.
- Features:
-- integrated user login / management
-- integrated session management (integrates CGI:Session)
-- unified state management: config (conf), cookie (cookie), form (form),
session (sess), runtime (rt) variables managed with single interface
|- state manager getter method ($sm->param( $name )) searches state
sources for $name in above order until match
|- state manager setter method ($sm->param( $name, $val, $obtype )) sets
key in state sources as given by one of above "object type" tokens; default is
'sess'
-- integrated payment processing (likely will integrate
Business::OnlinePayment)
-- integrated cart management (likely will integrate Business::Cart)
-- unified configuration file with interpolatable keys (built upon
Config::Inifiles)
-- page management - default templating module is
DMart::PageManager::HTMLTemplate (uses HTML::Template); however, additional
DMart::PageManagers can be built by implementing suitable and simple
"build_page" and "finalize_page" methods
-- integrated fatal error handler (failure after compile phase will display
formatted error page to user; $SIG{__DIE__} handler)
|-- mostly to integrate uniform display of calls to die by integrated
modules and user application modules
- sessions are stored/restored using cookie parameter
- cart maintained / restored based upon session
- parameter keys (form, cookie, config, session, and runtime) cannot contain a
dot (.); except, config params are dot delimited (e.g., 'sect.param')
- sessions can be anonymous or require login
|- anon session expires one hour from last request
|- login session expires SESSION_EXPIRE (60) - 15 minutes from last request
|-where login session, upon login-expire or logout, active session is saved
and expired until subsequent login
- all persistence occurs in database (not flat files) (MySQL currently
supported)
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
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.