smrtr / RapidFrames

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#RapidFrames v1.1 The PHP boilerplate for building prototypes quickly

##What is it? Rapidframes is lightweight prototype production framework for modelling the structure, design & UX of web and mobile sites. With it's abundant features it can also be used for small scale websites that are built for speed.

Rapidframes is ideal for:-

  • Front end developers that need to do Templating
  • Front end and back end developers that need to do Prototyping
  • Producing web and mobile sites

##Features

  • CSV as Database - Use single columned CSV's to generate trees, page structures and multiple menus for the entire site.

  • Pretty URL's

  • Custom Routing routes.routed/template = 'this-should-route-to/routed/template.php'

  • Clever layouts and views

    • Access to page objects $this->title, $this->ancestors
    • Use double curly expressions to access page object variables for cleaner templates {{title}}
    • Optionally load additional XML objects for each page
    • Autoloading of header and footer blocks. You don't need to include $this->getBlock('header') in each view.
  • Repeatable Blocks

    <!--start:rf-repeat-->

      <tr>
        <td>{{slug}}</td>
        <td>{{title}}</td>
        <td>{{template}}</td>
        <td>{{order}}</td>
        <td>
            <a href="/{{slug}}"><i class="icon-pencil"></i></a>
            <a href="#myModal" role="button" data-toggle="modal"><i class="icon-remove"></i></a>
        </td>
      </tr>
    

    <!--end:rf-repeat-->

  • API interface using Smrtr-DataGrid to easily query any CSV and retrieve results in various supported formats:

  1. xml
  2. csv
  3. json

##Requirements

  • PHP5.3+
  • curl extension installed (optional)

##Installation

  1. git clone https://github.com/mwayi/RapidFrames.git

  2. Set Vhosts should point to RapidFrames/Public

     ServerName  rapidframes.local
     DocumentRoot /path/to/project/RapidFrames/Public
    

About