1 / 10

Developing a B2B Commerce Site Using Perl/Mason

Developing a B2B Commerce Site Using Perl/Mason. O'Reilly Open Source Convention Thursday, July 26, 2001. Jaron J. Rubenstein Director of Technology Logicept Corporation jaron@logicept.com. Edward Zborowski Programmer Logicept Corporation ed@logicept.com. Overview. What is Mason?

Download Presentation

Developing a B2B Commerce Site Using Perl/Mason

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Developing a B2B Commerce Site Using Perl/Mason O'Reilly Open Source Convention Thursday, July 26, 2001 Jaron J. Rubenstein Director of Technology Logicept Corporation jaron@logicept.com Edward Zborowski Programmer Logicept Corporation ed@logicept.com

  2. Overview • What is Mason? • Large-scale B2B site characteristics • Technology requirements • Why Mason? • Experiences porting PHP to Mason • Questions and discussion

  3. What is Mason? • Perl-based Web site engine • Embed Perl in HTML pages • Object-like architecture • Caching & templates • Separation of business/presentation layers

  4. Sample Mason Code <%args>$email $name => undef </%args> <%init> my $address = $email; $address = “$name <$email>” if defined( $name ); </%init> <html> <body> Your email header is <% $address %> </body> </html>

  5. Large-scale B2B site characteristics • High traffic • Full catalog access • Invoice, credit, and payment tracking • Shopping cart • Data validation • Information hiding

  6. Technology requirements • Front-end vs. Back-end • Separate business and presentation logic • Open standards • Standard date and money manipulation • User sessions

  7. Why Mason? • Code reuse • Object Oriented techniques • Supports multiple developers with different skill sets • Perl • Easy to create • Easy to modify

  8. Experiences porting PHP to Mason • Both use embedded HTML pages • Repetitiveness eliminated • PHP classes to Perl classes • Security handled by Mason • Harder to read PHP

  9. Questions and discussion • Any questions? • What would you have done differently?

  10. Jaron J. Rubenstein Director of Technology E-mail: jaron@logicept.com Edward Zborowski Programmer E-mail: ed@logicept.com Logicept Corporation 25 Washington Street, 3rd Floor Brooklyn, NY 11201 www.logicept.com T (718) 858-2822 F (718) 504-4615 E info@logicept.com Contact Information For a copy of this slide presentation, please visit: www.logicept.com/knowledge/

More Related