-- Sent from my Palm Pre on Verizon Wireless
On Sep 18, 2012 6:44 PM, Michael <[email protected]> wrote:
Michael
On Tuesday, September 18, 2012 at 12:00 PM, [email protected] wrote:
Send spug-list mailing list submissions toTo subscribe or unsubscribe via the World Wide Web, visithttp://mail.pm.org/mailman/listinfo/spug-listor, via email, send a message with subject or body 'help' toYou can reach the person managing the list atWhen replying, please edit your Subject line so it is more specificthan "Re: Contents of spug-list digest..."Today's Topics:1. Talk Tomorrow? (Webster)2. Re: Talk Tomorrow? (Mark Swayne)----------------------------------------------------------------------Message: 1Date: Mon, 17 Sep 2012 15:23:42 -0700From: Webster <[email protected]>Subject: SPUG: Talk Tomorrow?Message-ID: <[email protected]>Content-Type: text/plain; charset=us-asciiThere were some mentionings of a couple people that might be willing to give a talk tomorrow but I never heard anything definite. Is anyone willing to volunteer for tomorrow?------------------------------Message: 2Date: Mon, 17 Sep 2012 19:44:15 -0700From: Mark Swayne <[email protected]>To: Webster <[email protected]>Subject: Re: SPUG: Talk Tomorrow?Message-ID:<CACYbuXTsTqzaNw6G-uah-J-WC2J2H57Ofw6vtd=tfyu2i+6...@mail.gmail.com>Content-Type: text/plain; charset="iso-8859-1"I will be giving a talk on my SQL generation library called DBIx::PreQL.DBIx::PreQL - Less awful SQL generation with templatesExecutive Summary:Do amazing things with SQL by sprinkling it with 7 characters: & | * #? ! ~Summary:Nearly every programmer will work with relational databases at one time oranother, if not every day. This means we have to work with SQL, whether wewrite our queries by hand or use an abstraction layer to generate them.No generator is perfect, and sometimes you just have to write SQL to getthe results you need.DBIx::PreQL defines a small templating language that is designed to make iteasy to manage groups of related, complex queries.For example, if you have a webpage that sells widgets, you may have a bunchof nearly identical queries that provide:* A list of available models of widget* A count of available models of widget* A count of widgets available of each type* The above three queries for discontinued models only.* The first three queries for currently available models only.These queries are probably 90% identical, with only minor changes.DBIx::PreQL addresses this problem by adding simple tags to the beginningof each line of SQL that are used to determine whether or not a line isincluded in the final query.Here's a typical marked-up query:* SELECT& count(*) !count!* model,* name,& status !~status!* FROM tbl_widget* WHERE& status = ?status?& AND model = ?model?& AND name LIKE ?name?You can see DBIx::PreQL on github right now:https://github.com/daotoad/DBIx-PreQLI will be working like a feverish weasel tonight to get it uploaded to CPANbefore the talk.On Mon, Sep 17, 2012 at 3:23 PM, Webster <[email protected]> wrote:There were some mentionings of a couple people that might be willing togive a talk tomorrow but I never heard anything definite. Is anyone willingto volunteer for tomorrow?_____________________________________________________________Seattle Perl Users Group Mailing ListPOST TO: [email protected]SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-listMEETINGS: 3rd TuesdaysWEB PAGE: http://seattleperl.org/-------------- next part --------------An HTML attachment was scrubbed...URL: <http://mail.pm.org/pipermail/spug-list/attachments/20120917/b9262362/attachment-0001.html>------------------------------Subject: Digest Footer_______________________________________________spug-list mailing listhttp://mail.pm.org/mailman/listinfo/spug-list------------------------------End of spug-list Digest, Vol 111, Issue 1*****************************************
_____________________________________________________________
Seattle Perl Users Group Mailing List
POST TO: [email protected]
SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list
MEETINGS: 3rd Tuesdays
WEB PAGE: http://seattleperl.org/
