I would want it to be just like <a href="http://flickr.com">flickr.com</a>, with some slick AJAX features :)<br><br>Gerard.<br><br><div><span class="gmail_quote">On 3/13/06, <b class="gmail_sendername">Scott Penrose</b> &lt;
<a href="mailto:scottp@dd.com.au">scottp@dd.com.au</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hey guys<br><br>For those who were at my Catalyst talk you will know that one of the reasons I really like Catalyst is that it encourages you to do the right thing and separate your data from your web application and from your presentation.
<br><br>For this reason, I write APIs (Perl Modules) that have nothing to do with even the internet or the web or HTML to manage data.<br><br>So I am on my next quest. I have been working with MyPhotoGallery from Fuzzy Monkey - 
<a href="http://www.fuzzymonkey.org/cgi-bin/newfuzzy/software.cgi">http://www.fuzzymonkey.org/cgi-bin/newfuzzy/software.cgi</a><br><br>It does everything I need - basically - it allows you to create an arbitrary directory of images - and the interface shows you the directories, thumb nails, pagenated, watermarked - all the usual graphics stuff without the crap - just the viewer - and just on images in directories - no reinventing the wheel, no mysql Database etc.
<br><br>Anyway it got me thinking about using this code - it is completely all of the wrong things - it is bad procedural code, it has lots of non-use-strict (I know some people like 'use strict is gay'), it has all the HTML mixed up in the code - and the list goes on.
<br><br>I have started using the concepts to write a Catalyst modules - I am hoping to do it in such a way that the component can be used outright or modular as part of another system - thus encourage reuse.<br><br>But I digress - back to the original part of the topic - what API. So back to my other gripe about APIs which is high level APIs - when we are in Windows we can access a User or a Capture Device - these are a single API - people can add a video camera or a scanner or a slide scanner or ... - and I can write a simple script to get a picture that is effectively future proof.
<br><br>Another few steps back... I want a Gallery API in Perl - preferrably one we can extend to have multiple backends - so those that think it is necessary to use MySQL to store original data for an album - can do so, while I stick to my directory and file system.
<br><br>Anyone know anything close? I want to keep it tiny - any special requests that people would need?<br><br>Scott<br>---<br>Scott Penrose<br>Digital Dimensions<br><a href="mailto:scott@dd.com.au">scott@dd.com.au</a><br>
<a href="http://www.dd.com.au/">http://www.dd.com.au/</a><br><br>_______________________________________________<br>Melbourne-pm mailing list<br><a href="mailto:Melbourne-pm@pm.org">Melbourne-pm@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/melbourne-pm">
http://mail.pm.org/mailman/listinfo/melbourne-pm</a><br></blockquote></div><br>