ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Ultimate CI setup

August 31, 2007 5:37pm

Subscribe [1]
  • #1 / Aug 31, 2007 5:37pm

    mozey

    3 posts

    So i’m thinking of making a little package that i can keep on my thumb drive that will basically allow me to WIPP a web-app in no time!, here is what i’m thinking so far.

    1: CI (ofcourse!), with freakauth, and rapyd mesh.

    2: A script that will take my .xml file and create my DB based on it. Symfony follow a similar approach, here is a shaved down example stolen from thier website.

    <database name="MY_SUPER_db">
       <table name="ask_question" phpName="Question">
         <column name="id" type="integer" required="true" primaryKey="true" autoIncrement="true" >
         <column name="user_id" type="integer" >
         <foreign-key foreignTable="ask_user">
           <reference local="user_id" foreign="id">
         </foreign-key>
         <column name="title" type="longvarchar" >
         <column name="body" type="longvarchar" >
         <column name="created_at" type="timestamp" >
         <column name="updated_at" type="timestamp" >
       </table>
    </database>

    3: Yet another script which will generate my backend based on a configuration file something along the same lines as:

    <admintab name="posts">
        <one table="posts" filter_on="users.ID" to="comments" >
        <many table="comments" filter_on="posts.ID" >
    
        <field location="posts.title" type="text" order="1" >
        <field location="posts.body" type="wysiwyg" order="2" display_name="Post Body" restriction="required" >
        <field location="comments.title" type="text" order="1" >
        <field location="comments.body" type="wysiwyg" order="2" display_name="Post Body" restriction="required" >
    </admintab>

    where each tag, is basically a controller that implements the basic CRUD functions. I know i probably messed up the logic somewhere in there, but you get the idea!. 

    4: Third script which will generate my front end, in a much similar way to what my backend is.

    5: The front end and the backend would be a mooch off of the freak auth front end and back end.

    SOOO, basically, you would write THREEE .xml files then BOOOM. done!, you start customizing!. What i’m aiming for is a SUUUUUUUUPER simplified version of what symfony offers!.

    This is aimed to be used for simple ideas!, for instance “a hot or not for pets” or “an interface to my mysql table which keeps a record of my blaaa”

    yeahh?? yeahh? eh? perhaps?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases