<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

      <title>Comments on: Looking for Simple, Lightweight Interface (not Enterprise Framework) for PHP Application Framework</title>
      <link>http://ask.metafilter.com/7699/Looking-for-Simple-Lightweight-Interface-not-Enterprise-Framework-for-PHP-Application-Framework/</link>
      <description>Comments on Ask MetaFilter post Looking for Simple, Lightweight Interface (not Enterprise Framework) for PHP Application Framework</description>
	  	  <pubDate>Fri, 04 Jun 2004 00:49:39 -0800</pubDate>
      <lastBuildDate>Fri, 04 Jun 2004 00:49:39 -0800</lastBuildDate>
      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>

<item>
  	<title>Question: Looking for Simple, Lightweight Interface (not Enterprise Framework) for PHP Application Framework</title>
  	<link>http://ask.metafilter.com/7699/Looking-for-Simple-Lightweight-Interface-not-Enterprise-Framework-for-PHP-Application-Framework</link>	
  	<description>PHP Application Frameworks.  Google and the other usual suspects seem to be pointing me toward the big guys, but I&apos;m not looking for an enterprise-level framework, rather a smallish, lightweight tool that will--given some kind of definition information--render a reasonably simple administrative interface; i.e., the kind my grandma could use.  I&apos;ve been working on a homegrown version as a stopgap, but does anyone have any recommendations for something like this? &lt;br /&gt;&lt;br /&gt; Basically, I&apos;d like to provide a definition of sorts for each section (e.g., the Photos node would consist of a text field called Title, a textarea called caption, a file upload field called Image File, etc.), and have it take care of rendering the actual administrative functions (Add Photo, List Photos, Edit Photo, etc.)&lt;br&gt;
&lt;br&gt;
The fact that I&apos;ve been relatively successful in developing my own leads me to believe that there&apos;s got to be something similar out there already.  I mean, I can&apos;t possibly be the first person to think that something like this would be helpful for web developers weary of writing yet another &quot;Create Widget&quot; script.</description>
  	<guid isPermaLink="false">post:ask.metafilter.com,2008:site.7699</guid>
  	<pubDate>Thu, 03 Jun 2004 21:33:06 -0800</pubDate>
  	<dc:creator>oissubke</dc:creator>
	
	<category>php</category>
	
	<category>application</category>
	
	<category>framework</category>
	
</item>
<item>
  	<title>By: SpecialK</title>
  	<link>http://ask.metafilter.com/7699/Looking-for-Simple-Lightweight-Interface-not-Enterprise-Framework-for-PHP-Application-Framework#151845</link>	
  	<description>*shrug* They exist ... but ... are you using objects and a templating engine?&lt;br&gt;
&lt;br&gt;
I mean, that&apos;s kind of what objects do. And when you&apos;re dealing with database queries and data formatting, you pretty much end up writing the code for the specific data anyway (potentially reusing things from project to project, like a user object). &lt;br&gt;
&lt;br&gt;
And as for templating engines, well, create a template that wraps the whole thing and dump your content into it, and create the template for that content, like a form. &lt;br&gt;
&lt;br&gt;
I write admin interfaces like that for a living and I&apos;m down to about thirty minutes per page, depending on how much complexity there is. &lt;br&gt;
&lt;br&gt;
You could use Fusebox, but I&apos;ve always found it a needlessly complex hack. &lt;br&gt;
&lt;br&gt;
Or maybe I&apos;m misunderstanding your question...</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.7699-151845</guid>
  	<pubDate>Fri, 04 Jun 2004 00:49:39 -0800</pubDate>
  	<dc:creator>SpecialK</dc:creator>
</item>
<item>
  	<title>By: yerfatma</title>
  	<link>http://ask.metafilter.com/7699/Looking-for-Simple-Lightweight-Interface-not-Enterprise-Framework-for-PHP-Application-Framework#151882</link>	
  	<description>&lt;em&gt;when you&apos;re dealing with database queries and data formatting, you pretty much end up writing the code for the specific data anyway&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
Yup. I&apos;d love to find something that saved writing interface code every time, but it&apos;s hard to be generic enough. At some point you&apos;ll need a really complex database schema to be able to handle the level of abstraction that covers (whatever you wind up defining as) &amp;quot;almost everything&amp;quot;. I&apos;ve moved from the header-and-footer include model to having an HTML template file I read in and do replaces on. It&apos;s nothing revolutionary, it just seems to save time and a few headaches compared to creating header and footer files that are usable throughout the app without losing their usefulness.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.7699-151882</guid>
  	<pubDate>Fri, 04 Jun 2004 05:01:39 -0800</pubDate>
  	<dc:creator>yerfatma</dc:creator>
</item>
<item>
  	<title>By: yerfatma</title>
  	<link>http://ask.metafilter.com/7699/Looking-for-Simple-Lightweight-Interface-not-Enterprise-Framework-for-PHP-Application-Framework#151883</link>	
  	<description>That last sentence stunk. What I mean is a header and footer that can be used on every page but still carry enough redundant information to make it worth pulling them out into a header and footer.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.7699-151883</guid>
  	<pubDate>Fri, 04 Jun 2004 05:02:33 -0800</pubDate>
  	<dc:creator>yerfatma</dc:creator>
</item>
<item>
  	<title>By: oissubke</title>
  	<link>http://ask.metafilter.com/7699/Looking-for-Simple-Lightweight-Interface-not-Enterprise-Framework-for-PHP-Application-Framework#151945</link>	
  	<description>I guess &amp;quot;application framework&amp;quot; could be the wrong term.  &lt;br&gt;
&lt;br&gt;
Really what I&apos;m looking for is an easy system for building the backend portions of websites.  It&apos;s easy enough to write the frontend in PHP Smarty once everything&apos;s in the database, it&apos;s writing the admin section that sucks.&lt;br&gt;
&lt;br&gt;
What I&apos;ve currently written is a system that will read a configuration file that lays out the basic fields associated with a site object.  The admin script then reads the configuration for the selected object and renders all forms and handlers necessary for creating, deleting, editing, etc.&lt;br&gt;
&lt;br&gt;
(Basically, I got tired of trying to heavily mod MovableType for backend work, so I wrote my own that allowed fully customized fields for every entity.)&lt;br&gt;
&lt;br&gt;
&lt;i&gt;At some point you&apos;ll need a really complex database schema to be able to handle the level of abstraction that covers (whatever you wind up defining as) &amp;quot;almost everything&amp;quot;. &lt;/i&gt;&lt;br&gt;
&lt;br&gt;
I thought of this too, but I actually just went the route of manually creating the database tables to match the configuration of each object.  I might get ambitious and abstract it all someday, but it ain&apos;t gonna be tonight! :)</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.7699-151945</guid>
  	<pubDate>Fri, 04 Jun 2004 08:55:37 -0800</pubDate>
  	<dc:creator>oissubke</dc:creator>
</item>
<item>
  	<title>By: kaefer</title>
  	<link>http://ask.metafilter.com/7699/Looking-for-Simple-Lightweight-Interface-not-Enterprise-Framework-for-PHP-Application-Framework#152158</link>	
  	<description>While it&apos;s based on Perl (not PHP) you might want to check out &lt;a href=&quot;http://maypole.simon-cozens.org/&quot;&gt;Maypole&lt;/a&gt;.  It&apos;s a very clever application development framework that when given a few database tables and a definition of the relationships between the tables, will create a web-based front-end for managing the data.&lt;br&gt;
&lt;br&gt;
Perl.com has an excellent two part tutorial (&lt;a href=&quot;http://www.perl.com/pub/a/2004/04/15/maypole.html&quot;&gt;here &lt;/a&gt;and &lt;a href=&quot;http://www.perl.com/pub/a/2004/04/29/maypole.html&quot;&gt;here&lt;/a&gt;) that walks you through the framework.  The first article builds a full-fledged (albeit small) web based interface for managing a product database in only 10 lines of code.  Nifty stuff.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.7699-152158</guid>
  	<pubDate>Fri, 04 Jun 2004 16:33:15 -0800</pubDate>
  	<dc:creator>kaefer</dc:creator>
</item>
<item>
  	<title>By: billsaysthis</title>
  	<link>http://ask.metafilter.com/7699/Looking-for-Simple-Lightweight-Interface-not-Enterprise-Framework-for-PHP-Application-Framework#152216</link>	
  	<description>If it&apos;s truly back end and as simple as you suggest, I&apos;ve used &lt;a href=&quot;http://platon.sk/projects/main_page.php?project_id=5&quot;&gt;PHPMyEdit&lt;/a&gt; quite extensively. Customizable to a large degree even with CSS now but I&apos;ve never bothered beyond creating dropdowns for foriegn key fields.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.7699-152216</guid>
  	<pubDate>Fri, 04 Jun 2004 19:25:32 -0800</pubDate>
  	<dc:creator>billsaysthis</dc:creator>
</item>

    </channel>
</rss>
