<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0' gd:etag='W/&quot;DUcMSHwzfSp7ImA9WhVXEks.&quot;'><id>tag:blogger.com,1999:blog-6051814308322144156</id><updated>2012-04-12T23:44:49.285+02:00</updated><title>SchizoDuckie's PHP &amp; Javascript brainfarts</title><subtitle type='html'>My place to dump my latest PHP / Javascript (MooTools based) stuff</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://schizoduckie.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6051814308322144156/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://schizoduckie.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>SchizoDuckie</name><uri>http://www.blogger.com/profile/08863675621722619909</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp1.blogger.com/_JLP-sVhhA4Y/R5UonfJpgdI/AAAAAAAAJYw/rLFdQ5wkBZs/S220/jelle.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;CUANRXw_eip7ImA9WxZQFUU.&quot;'><id>tag:blogger.com,1999:blog-6051814308322144156.post-353878197702901081</id><published>2008-02-21T09:45:00.002+01:00</published><updated>2008-02-21T09:49:54.242+01:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2008-02-21T09:49:54.242+01:00</app:edited><title>Announcing Pork.Generator 1.0 PHP Database analyzer and ORM code generator</title><content type='html'>I hereby proudly present to you, after many, many hours of coding:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Pork.Generator 1.0&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Pork.Generator is a webbased tool to inspect your databases and generate Pork.dbObject based code. The generator analyzes the relations in your database, by trying to match primary keys to fields of other tables. If you have created your table structure following some simple rules, this project can either create a complete CRUD (Create, Read, Update, Delete) interface into a .zip file, or just output your complete database schema into O/R mapped objects.&lt;br /&gt;&lt;br /&gt;Pork.dbObject is an Object-Relation mapper for PHP 5 that attempts to be easy, fast, lightweight, uses optimized database queries and provides an easy Find() function very loosely based on rails'. For more information on Pork.dbObject please go &lt;a href="http://www.schizofreend.nl/Pork.dbObject/"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Features of Pork.Generator 1.0&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;* Inspect the relations and properties of tables in your database in an MDI interface&lt;br /&gt;* Generate a complete CRUD web-interface of your database&lt;br /&gt;* CRUD interface has the ability to visually create connections between any defined relations&lt;br /&gt;* Generate just classes with relations mapped between them for the tables found in your database&lt;br /&gt;* Generate just the class you're inspecting right now&lt;br /&gt;* Visualize the relations between tables in your database via &lt;a href="http://ww.graphviz.org/"&gt;GraphViz&lt;/a&gt;&lt;br /&gt;* Semi-intelligent entity object naming (if you have an ID_Image object in your Images table the object will be named Image)&lt;br /&gt;* Create custom mappings for fields in tables to internal object mapping&lt;br /&gt;* Set database-wide generation options (create only constructor, create editor, display and displayShort functions)&lt;br /&gt;* Interface generation is completely customizable. You can include your own stuff and work in your own favorite way!&lt;br /&gt;* Includes custom PHP formgenerator, MooTools 1.2 beta, Mocha UI, FCKEditor, &lt;a href="http://electricprism.com/aeron/calendar"&gt;MooCalendar&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Requirements of Pork.Generator 1.0&lt;/strong&gt;&lt;br /&gt;* Built for FireFox. IE is known to look *nasty* and not currently actively supported&lt;br /&gt;* PHP5, Apache, MySQL&lt;br /&gt;* Graphviz ( &lt;a href="http://www.graphviz.org/"&gt;http://www.graphviz.org&lt;/a&gt; ) for graphical display of the relations between tables&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Known limitations&lt;/strong&gt;&lt;br /&gt;* For now relations in Pork.dbObject are based solely on the case sensitivie naming of properties with a PRI flag in MySQL.&lt;br /&gt;&lt;em&gt;tableA.ID_This + tableB.ID_This = relation&lt;/em&gt;&lt;br /&gt;* There is no analysation of any MySQL-defined relations or foreign keys, and relations in the form of &lt;em&gt;tableA.ID + tableB.tableaID&lt;/em&gt; are not supported. This will be added in future versions of Pork.dbObject and the generator.&lt;br /&gt;* The code behind the VirtualObject and ClassGenerator in the analyzer needs major rewriting to allow for more simple plugins, but it just works, and has done so for the last 2 years, so I decided to release it.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Screenshots&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://www.schizofreend.nl/images/demo1.jpg"&gt;&lt;img class="postimg" src="http://www.schizofreend.nl/images/demo1thumb.jpg" alt="http://www.schizofreend.nl/images/demo1thumb.jpg" /&gt;&lt;/a&gt; Welcome screen&lt;br /&gt;&lt;a href="http://www.schizofreend.nl/images/demo2.jpg"&gt;&lt;img class="postimg" src="http://www.schizofreend.nl/images/demo2thumb.jpg" alt="http://www.schizofreend.nl/images/demo2thumb.jpg" /&gt;&lt;/a&gt; Database and table overview&lt;br /&gt;&lt;a href="http://www.schizofreend.nl/images/demo3.jpg"&gt;&lt;img class="postimg" src="http://www.schizofreend.nl/images/demo3thumb.jpg" alt="http://www.schizofreend.nl/images/demo3thumb.jpg" /&gt;&lt;/a&gt; Table editor tab and relations tab&lt;br /&gt;&lt;a href="http://www.schizofreend.nl/images/demo4.jpg"&gt;&lt;img class="postimg" src="http://www.schizofreend.nl/images/demo4thumb.jpg" alt="http://www.schizofreend.nl/images/demo4thumb.jpg" /&gt;&lt;/a&gt; Generated code&lt;br /&gt;&lt;a href="http://www.schizofreend.nl/images/demo5.jpg"&gt;&lt;img class="postimg" src="http://www.schizofreend.nl/images/demo5thumb.jpg" alt="http://www.schizofreend.nl/images/demo5thumb.jpg" /&gt;&lt;/a&gt; More generated code&lt;br /&gt;&lt;a href="http://www.schizofreend.nl/images/demo6.jpg"&gt;&lt;img class="postimg" src="http://www.schizofreend.nl/images/demo6thumb.jpg" alt="http://www.schizofreend.nl/images/demo6thumb.jpg" /&gt;&lt;/a&gt; Global code generation&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Graphviz generated relation maps:&lt;/strong&gt;&lt;br /&gt;&lt;a href="http://www.schizofreend.nl/demogenerator/graph/schizofreend2/"&gt;example 1&lt;/a&gt; &lt;a href="http://www.schizofreend.nl/demogenerator/graph/schizofreend3/"&gt;example 2&lt;/a&gt; &lt;a href="http://www.schizofreend.nl/demogenerator/graph/schizofreend4/"&gt;example 3&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Demo: &lt;a href="http://www.schizofreend.nl/demogenerator"&gt;http://www.schizofreend.nl/demogenerator&lt;/a&gt;&lt;br /&gt;Site: &lt;a href="http://www.schizofreend.nl/Pork.Generator"&gt;http://www.schizofreend.nl/Pork.Generator&lt;/a&gt;&lt;br /&gt;Forums: &lt;a href="http://www.schizofreend.nl/forums/"&gt;http://www.schizofreend.nl/forums/&lt;/a&gt;&lt;br /&gt;Download: &lt;a href="http://code.google.com/p/pork-generator/downloads/list"&gt;http://code.google.com/p/pork-generator/downloads/list&lt;/a&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://schizoduckie.blogspot.com/feeds/353878197702901081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6051814308322144156&amp;postID=353878197702901081' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6051814308322144156/posts/default/353878197702901081?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6051814308322144156/posts/default/353878197702901081?v=2'/><link rel='alternate' type='text/html' href='http://schizoduckie.blogspot.com/2008/02/announcing-porkgenerator-10-php.html' title='Announcing Pork.Generator 1.0 PHP Database analyzer and ORM code generator'/><author><name>SchizoDuckie</name><uri>http://www.blogger.com/profile/08863675621722619909</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp1.blogger.com/_JLP-sVhhA4Y/R5UonfJpgdI/AAAAAAAAJYw/rLFdQ5wkBZs/S220/jelle.jpg'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CUANRHkyeSp7ImA9WxZTGUg.&quot;'><id>tag:blogger.com,1999:blog-6051814308322144156.post-1723214792669978918</id><published>2008-01-21T23:14:00.000+01:00</published><updated>2008-01-21T23:16:35.791+01:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2008-01-21T23:16:35.791+01:00</app:edited><title>Welcome :-)</title><content type='html'>&lt;span style="font-size:100%;"&gt;Welcome to the place where I empty my brain.&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://schizoduckie.blogspot.com/feeds/1723214792669978918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6051814308322144156&amp;postID=1723214792669978918' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6051814308322144156/posts/default/1723214792669978918?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6051814308322144156/posts/default/1723214792669978918?v=2'/><link rel='alternate' type='text/html' href='http://schizoduckie.blogspot.com/2008/01/welcome.html' title='Welcome :-)'/><author><name>SchizoDuckie</name><uri>http://www.blogger.com/profile/08863675621722619909</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp1.blogger.com/_JLP-sVhhA4Y/R5UonfJpgdI/AAAAAAAAJYw/rLFdQ5wkBZs/S220/jelle.jpg'/></author><thr:total>1</thr:total></entry></feed>