The REST approach sounds good to me, and learning Perl 6 Regexes sounds really interesting.  Lets do this.  <br><br>Shawn<br><br><br><div class="gmail_quote">On Mon, Jul 13, 2009 at 5:45 PM, Jonathan Brown <span dir="ltr">&lt;<a href="mailto:jbrown@reachlocal.com">jbrown@reachlocal.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
<div dir="ltr" align="left"><font size="2" color="#0000ff" face="Arial"></font> </div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial">I can take a look into the XML parsing.  Those services 
likely have JSON options as well that may or may not be preferable.  I 
haven&#39;t really looked at Perl 6&#39;s regex support at all yet though, so it might 
take me a bit longer.</font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial">We could certainly take a mixed Perl 5 and 6 approach, if 
that&#39;s what you meant for implementing the REST services for components too hard 
to do in Perl 6 yet.  Another clean separation point is the actual html + 
js web UI; we could expose the data the UI needs in a JSON service, for 
instance, and consume that from JS and get Joose in here 
too.</font></span></div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font size="2" face="Tahoma"><b>From:</b> 
thousand-oaks-pm-bounces+jbrown=<a href="http://reachlocal.com" target="_blank">reachlocal.com</a>@<a href="http://pm.org" target="_blank">pm.org</a> 
[mailto:<a href="mailto:thousand-oaks-pm-bounces%2Bjbrown" target="_blank">thousand-oaks-pm-bounces+jbrown</a>=<a href="http://reachlocal.com" target="_blank">reachlocal.com</a>@<a href="http://pm.org" target="_blank">pm.org</a>] <b>On Behalf Of 
</b>Todd Presta<br><b>Sent:</b> Monday, July 13, 2009 5:26 PM<br><b>To:</b> 
Andrew Grangaard<div class="im"><br><b>Cc:</b> <a href="mailto:thousand-oaks-pm@pm.org" target="_blank">thousand-oaks-pm@pm.org</a><br></div><div><div></div><div class="h5"><b>Subject:</b> Re: 
[Thousand-oaks-pm] In anticipation of Perl 6 Hackathon<br></div></div></font><br></div><div><div></div><div class="h5">
<div></div>
<table border="0" cellpadding="0" cellspacing="0">
  <tbody>
  <tr>
    <td valign="top">.NET? (Mono notwithstanding :)<br><br>Ah! Thank you for the 
      link. I was snooping around the Parrot 1.3 source tree and found evidence 
      of SQLite3 and DBDI in the /ext dir but was not sure how they were linked 
      to the Rakudo Perl 6 implementation if at all at the current time or if 
      they were even alive in Parrot itself. Running strings on libparrot.dll 
      provided no evidence of SQLite unless I forgot to enable during the config 
      stage.<br><br>For purposes of the Perl 6 Hackathon, if we can&#39;t get a true 
      database interface maybe we could go with an interim SOA or REST approach 
      and defer the persistence layer to web services instead? Just a 
      thought...<br><br>T<br><br>-- Todd Presta<br>-- 
      <a href="http://www.asciiville.com" target="_blank">http://www.asciiville.com</a><br><br>--- On <b>Mon, 7/13/09, Andrew Grangaard 
      <i>&lt;<a href="mailto:agrangaard@rubiconproject.com" target="_blank">agrangaard@rubiconproject.com</a>&gt;</i></b> wrote:<br>
      <blockquote style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;"><br>From: 
        Andrew Grangaard &lt;<a href="mailto:agrangaard@rubiconproject.com" target="_blank">agrangaard@rubiconproject.com</a>&gt;<br>Subject: Re: 
        [Thousand-oaks-pm] In anticipation of Perl 6 Hackathon<br>To: &quot;Todd 
        Presta&quot; &lt;<a href="mailto:toddpresta@sbcglobal.net" target="_blank">toddpresta@sbcglobal.net</a>&gt;<br>Cc: 
        <a href="mailto:thousand-oaks-pm@pm.org" target="_blank">thousand-oaks-pm@pm.org</a><br>Date: Monday, July 13, 2009, 4:43 PM<br><br>
        <div>Todd,<br><br>Tim (Senor Bunce) is working on a perl 
        6 version of DBI (DBDI).  The update from 6 months ago shows some 
        progress.  Perhaps there has been more work since then?  It 
        might be helpful.<br><br><a href="http://perlbuzz.com/2008/12/database-access-in-perl-6-is-coming-along-nicely.html" target="_blank">http://perlbuzz.com/2008/12/database-access-in-perl-6-is-coming-along-nicely.html</a><br>
<br>ps.  
        are there projects that target deployments that aren&#39;t 
        *nix?<br><br>andrew<br><br>Todd Presta wrote:<br>&gt; I think the 
        database interface and XML would be the trickiest. I would have to 
        perform more research, but it may be possible to interface to a SQLite 
        dynamic library via Native Call Interface. There is information for 
        Parrot for NCI, but I do not know of the connection between Perl 6 and 
        NCI at this point. Maybe an NCI layer in Parrot has to be part of the 
        Perl 6 build?<br>&gt; <br>&gt; Anyway, here&#39;s a link for the Parrot 
        NCI:<br>&gt; <br>&gt; <a href="http://docs.parrot.org/parrot/latest/html/docs/pdds/draft/pdd16_native_call.pod.html" target="_blank">http://docs.parrot.org/parrot/latest/html/docs/pdds/draft/pdd16_native_call.pod.html</a><br>
&gt; 
        <br>&gt; If okay with everyone, I would like to investigate the database 
        interface layer, primarily searching for existing projects, and/or 
        determining the feasibility of rolling an adapter ourselves.<br>&gt; 
        <br>&gt; I assume this project will be targeting a *nix 
        deployment?<br>&gt; <br>&gt; <br>&gt; -- Todd Presta<br>&gt; -- <a href="http://www.asciiville.com" target="_blank">http://www.asciiville.com</a><br>&gt; <br>&gt; --- On 
        *Mon, 7/13/09, Aran Deltac /&lt;<a href="http://mc/compose?to=bluefeet@gmail.com" target="_blank">bluefeet@gmail.com</a>&gt;/* 
        wrote:<br>&gt; <br>&gt; <br>&gt;     From: Aran 
        Deltac &lt;<a href="http://mc/compose?to=bluefeet@gmail.com" target="_blank">bluefeet@gmail.com</a>&gt;<br>&gt;  
           Subject: Re: [Thousand-oaks-pm] In anticipation of 
        Perl 6 Hackathon<br>&gt;     To: &quot;Jonathan Brown&quot; 
        &lt;<a href="http://mc/compose?to=jbrown@reachlocal.com" target="_blank">jbrown@reachlocal.com</a>&gt;<br>&gt;  
           Cc: &quot;shawn faison&quot; &lt;<a href="http://mc/compose?to=faison09@gmail.com" target="_blank">faison09@gmail.com</a>&gt;, &quot;Todd 
        Presta&quot;<br>&gt;     &lt;<a href="http://mc/compose?to=toddpresta@sbcglobal.net" target="_blank">toddpresta@sbcglobal.net</a>&gt;, 
        <a href="http://mc/compose?to=thousand-oaks-pm@pm.org" target="_blank">thousand-oaks-pm@pm.org</a><br>&gt;  
           Date: Monday, July 13, 2009, 11:08 AM<br>&gt; 
        <br>&gt;     I like that, sounds great.<br>&gt; 
        <br>&gt;     I think we&#39;ll find that there are, say, 
        10 different pieces to this,<br>&gt;     then when 
        we start digging in we&#39;ll find that... uh, there is no DBI<br>&gt;  
           in perl 6 - crap!  Gotta figure out a way to 
        access some sort of DB<br>&gt;     (maybe there is 
        some sort of BDB support in perl 6...), or we&#39;d end<br>&gt;  
           up being totally side-tracked by writing an LWP-like 
        library for<br>&gt;     perl6 so that we could then 
        pull feeds from these services.  Oh, and<br>&gt;  
           does perl 6 have any XML support yet?  Has anyone 
        written an XML<br>&gt;     module for perl 
        6?<br>&gt; <br>&gt;     My bet is that just getting 
        a barely functional aggregator and web<br>&gt;  
           site going will take a LOT more effort in perl 6 since 
        there isn&#39;t a<br>&gt;     CPAN for perl 6, 
        yet.<br>&gt; <br>&gt;     That aside, I think the 
        this is a great idea Shawn/Jon.  We should<br>&gt;  
           do it.  We can already identify a few pieces that 
        could be developed<br>&gt;     independently.  
        First, I&#39;d like to know what tools we have available<br>&gt;  
           to us in perl 6, and know how they work:<br>&gt; 
        <br>&gt;     - XML parsing.<br>&gt;  
           - Database access.<br>&gt;     - 
        LWP or similar tools.<br>&gt;     - 
        mod_perl6<br>&gt; <br>&gt;     The only one we have 
        for sure is the last one, mod_perl6, but<br>&gt;  
           someone needs to understand how it works.  The 
        rest needs to be<br>&gt;     looked in to.<br>&gt; 
        <br>&gt;     We&#39;ll each grab one of these research 
        items, and then report to the<br>&gt;     rest of us 
        as to the current standing of the feature, or if they<br>&gt;  
           even exist yet?  Then we can take the next steps 
        and actually<br>&gt;     develop something.<br>&gt; 
        <br>&gt;     Does this sound like a good approach to 
        you guys?<br>&gt; <br>&gt;     I&#39;m wingin it.  
        If you guys would rather just jump right in and do<br>&gt;  
           this more organically that&#39;s fine with me as 
        well.<br>&gt; <br>&gt;     Aran<br>&gt; 
        <br>&gt;     On Mon, Jul 13, 2009 at 10:51 AM, 
        Jonathan Brown<br>&gt;     &lt;<a href="http://mc/compose?to=jbrown@reachlocal.com" target="_blank">jbrown@reachlocal.com</a> 
        &lt;/mc/compose?to=<a href="http://mc/compose?to=jbrown@reachlocal.com" target="_blank">jbrown@reachlocal.com</a>&gt;&gt; 
        wrote:<br>&gt; <br>&gt;              
            Guys,<br>&gt;            
              One idea I had, which is kind of a merger of 
        Shawn&#39;s 3 and 4, to<br>&gt;         some 
        extent, is: Build a website and accompanying backend that<br>&gt;  
               will parse feeds of / use APIs 
        of<br>&gt;      
           twitter/facebook/Daylife/wherever and agregate content 
        about a<br>&gt;         specific topic. I 
        like this one because 1) it shows Perl 6 can<br>&gt;      
           be used to build the kind of web apps that are popular 
        today (no<br>&gt;         cgi!), 2) it&#39;s 
        not just the web app, because we&#39;ll need backend<br>&gt;    
             components and db layer to store all the parsed 
        content, 3)<br>&gt;         since we store 
        the content instead of jsut access live APIs, we<br>&gt;    
             can build a &quot;universal&quot; search on top that 
        merges the results of<br>&gt;      
           different sources together, and 4) it should be 
        realtively well<br>&gt;         suited to 
        development by mutliple people, as someone can always<br>&gt;  
               just pick a new data source and write an 
        importer for it, or<br>&gt;         build 
        some other feature that uses the same data set for<br>&gt;    
             something.  It&#39;s basically a pseudo 
        real-time search app.         Finally, for 
        the actual implementation of it we show off, we<br>&gt;    
             could have it center on Perl 6 / Rakudo / 
        Parrot content.                
          Jon<br>&gt;          <br>&gt;  
            
           ------------------------------------------------------------------------<br>&gt;  
               *From:* 
        thousand-oaks-pm-bounces+jbrown=<a href="http://reachlocal.com" target="_blank">reachlocal.com</a><br>&gt;    
             &lt;<a href="http://reachlocal.com" target="_blank">http://reachlocal.com</a>&gt;@<a href="http://pm.org" target="_blank">pm.org</a> &lt;<a href="http://pm.org" target="_blank">http://pm.org</a>&gt;<br>&gt;  
            
           [mailto:<a href="mailto:thousand-oaks-pm-bounces%2Bjbrown" target="_blank">thousand-oaks-pm-bounces+jbrown</a><br>&gt;  
            
           &lt;/mc/compose?to=thousand-oaks-pm-bounces%2Bjbrown&gt;=<a href="http://reachlocal.com" target="_blank">reachlocal.com</a><br>&gt;  
               &lt;<a href="http://reachlocal.com" target="_blank">http://reachlocal.com</a>&gt;@<a href="http://pm.org" target="_blank">pm.org</a> &lt;<a href="http://pm.org" target="_blank">http://pm.org</a>&gt;] *On Behalf 
        Of<br>&gt;         *shawn 
        faison<br>&gt;         *Sent:* Saturday, 
        July 11, 2009 8:26 PM<br>&gt;      
           *To:* Todd Presta<br>&gt;      
           *Cc:* <a href="http://mc/compose?to=thousand-oaks-pm@pm.org" target="_blank">thousand-oaks-pm@pm.org</a><br>&gt;  
               &lt;/mc/compose?to=<a href="http://mc/compose?to=thousand-oaks-pm@pm.org" target="_blank">thousand-oaks-pm@pm.org</a>&gt;<br>&gt;  
               *Subject:* Re: [Thousand-oaks-pm] In 
        anticipation of Perl 6<br>&gt;      
           Hackathon<br>&gt; <br>&gt;      
           Hey Mongers,<br>&gt; <br>&gt;      
           Ive pondered a few ideas for our hackathon in no 
        particular<br>&gt;         order such 
        as:<br>&gt; <br>&gt;         1. An  
        IRC bot<br>&gt; <br>&gt;         2. A chat 
        client<br>&gt; <br>&gt;         3. A 
        widget that parses a twitter feed and does some smart<br>&gt;  
               operations on it. <br>&gt;    
             4. Something using the Facebook api, Flickr 
        api, or Daylife api.<br>&gt;      
           Daylife is pretty cool , it aggregates all types of 
        blogs and<br>&gt;         news feeds. You 
        can grab news based on location , time , weather<br>&gt;    
             and other options.<br>&gt; <br>&gt;  
               5. A basic multiplayer roleplaying game 
        with a web interface or<br>&gt;         a 
        MUD RPG. &lt;-- this seems to be my default way of learning a 
        new<br>&gt;         programming language 
        because its just fun<br>&gt;         We 
        could do a server and a client for this.<br>&gt; <br>&gt;    
             Im open to doing whatever though really and 
        does anyone else<br>&gt;         have any 
        ideas ?<br>&gt;         We could publish 
        whatever we create and have a little catchy<br>&gt;      
           logo on the web page that says &quot;Created with Perl 6! 
        or Created<br>&gt;         with Rakudo!&quot; 
        at the bottom.<br>&gt; <br>&gt;      
           Best Regards<br>&gt;      
           Shawn<br>&gt; <br>&gt; <br>&gt;      
           On Sat, Jul 11, 2009 at 11:25 AM, Todd 
        Presta<br>&gt;         &lt;<a href="http://mc/compose?to=toddpresta@sbcglobal.net" target="_blank">toddpresta@sbcglobal.net</a><br>&gt;  
               &lt;/mc/compose?to=<a href="http://mc/compose?to=toddpresta@sbcglobal.net" target="_blank">toddpresta@sbcglobal.net</a>&gt;&gt; 
        wrote:<br>&gt; <br>&gt;          
           TO.pm<br>&gt; <br>&gt;        
             I started a repo on GitHub to push some toy 
        programs<br>&gt;          
           initially, and to log some flight time with Rakudo 
        Perl 6.<br>&gt; <br>&gt;          
           If you are interested, it is located at:<br>&gt; 
        <br>&gt;               <a href="http://github.com/asciiville/perl6-playground" target="_blank">http://github.com/asciiville/perl6-playground</a><br>&gt;  
                     <a href="http://github.com/asciiville/perl6-playground/tree/master" target="_blank">http://github.com/asciiville/perl6-playground/tree/master</a>  
                   (first URI redirects to 
        this one)<br>&gt; <br>&gt;          
           Has anybody on the list pondered a Perl 6 project for 
        a<br>&gt;             hackathon 
        or otherwise?<br>&gt; <br>&gt;          
           Todd<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; 
        <br>&gt; <br>&gt; <br>&gt;          
           -- Todd Presta<br>&gt;        
             -- <a href="http://www.asciiville.com" target="_blank">http://www.asciiville.com</a><br>&gt; <br>&gt; 
        <br>&gt;          
           _______________________________________________<br>&gt;  
                   Thousand-oaks-pm mailing 
        list<br>&gt;             <a href="http://mc/compose?to=Thousand-oaks-pm@pm.org" target="_blank">Thousand-oaks-pm@pm.org</a> 
        &lt;/mc/compose?to=<a href="http://mc/compose?to=Thousand-oaks-pm@pm.org" target="_blank">Thousand-oaks-pm@pm.org</a>&gt;<br>&gt;  
                   <a href="http://mail.pm.org/mailman/listinfo/thousand-oaks-pm" target="_blank">http://mail.pm.org/mailman/listinfo/thousand-oaks-pm</a><br>&gt; 
        <br>&gt; <br>&gt; <br>&gt;      
           _______________________________________________<br>&gt;  
               Thousand-oaks-pm mailing 
        list<br>&gt;         <a href="http://mc/compose?to=Thousand-oaks-pm@pm.org" target="_blank">Thousand-oaks-pm@pm.org</a> 
        &lt;/mc/compose?to=<a href="http://mc/compose?to=Thousand-oaks-pm@pm.org" target="_blank">Thousand-oaks-pm@pm.org</a>&gt;<br>&gt;  
               <a href="http://mail.pm.org/mailman/listinfo/thousand-oaks-pm" target="_blank">http://mail.pm.org/mailman/listinfo/thousand-oaks-pm</a><br>&gt; 
        <br>&gt; <br>&gt; <br>&gt; 
        ------------------------------------------------------------------------<br>&gt; 
        <br>&gt; _______________________________________________<br>&gt; 
        Thousand-oaks-pm mailing list<br>&gt; <a href="http://mc/compose?to=Thousand-oaks-pm@pm.org" target="_blank">Thousand-oaks-pm@pm.org</a><br>&gt; 
        <a href="http://mail.pm.org/mailman/listinfo/thousand-oaks-pm" target="_blank">http://mail.pm.org/mailman/listinfo/thousand-oaks-pm</a><br><br><br></div></blockquote></td></tr></tbody></table></div></div></div>
<br>_______________________________________________<br>
Thousand-oaks-pm mailing list<br>
<a href="mailto:Thousand-oaks-pm@pm.org">Thousand-oaks-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/thousand-oaks-pm" target="_blank">http://mail.pm.org/mailman/listinfo/thousand-oaks-pm</a><br></blockquote></div><br>