Coder Social home page Coder Social logo

recess's Introduction

Recess PHP Framework

Welcome to the Recess PHP Framework! Let’s have some fun…

Requirements

  • Apache
  • mod_rewrite suggested
  • PHP 5.2.3 or greater

Installation Process

  1. Unzip contents into your web documents path (i.e. public_html)
  2. On a development machine make these directories writeable by PHP:
    1. apps/
    2. data/temp/
    3. data/sqlite/
  3. Open recess-conf.php and set RecessConf::$defaultDatabase
    1. If using MySQL: Uncomment the ‘mysql:…’ line and fill in DBNAME/USER/PASS
    2. If using Sqlite: Uncomment the ‘sqlite:…’ line and name the database
  4. Do you have mod_rewrite?
    1. Yes: Open your browser to the location you unzipped
    2. No: Open your browser to the location you unzipped followed by index.php
  5. If you see “Welcome to Recess!” we’re ready to rock.
  6. The URL you are currently at will be referenced {$installUrl}

Recess Tools Mini-tutorial

  1. Browse to http://{$installUrl}/recess/ (i.e. http://localhost/recess)
  2. Do you see Recess Tools? Good.
  3. Click ‘Database’
    1. Make sure your default database shows up.
  4. Click ‘Apps’ and let’s start a new app
    1. Click ‘Start a New Application’
    2. Human name: My First Recess App
    3. Programmatic name: FirstApp [NEXT]
    4. Url prefix: firstApp/ [NEXT]
    5. Follow instructions to activate your first app.
    6. In a new tab browse to http://{$installUrl}/firstApp/
    7. Do you see a Hello page? Great.
  5. Back in Recess Tools click ‘Apps’
  6. Click on ‘My First Recess App’ – this is your app dashboard.
  7. Click on ‘new’ beside of Models
    1. Name the model Post
    2. Select ‘Table does not exist.’
    3. Add 2 properties:
      1. title => String
      2. body => Text
    4. Click ‘Generate Model’
    5. Click ‘Generate Scaffolding’
    6. In your other tab browse to http://{$installUrl}/firstApp/post
    7. Try creating a new post.
  8. In your editor open the apps dir in your Recess install location.
    1. Poke around in here to get a sense of what Tools just generated.
  9. From here have fun, keep tinkering, and stay tuned to RecessFramework.org

Stay tuned, ask questions, and get involved in the Recess Community:

Enjoy Recess!

Kris Jordan

http://www.krisjordan.com/

http://www.twitter.com/KrisJordan

recess's People

Contributors

christiaan avatar die-tech avatar gianlucacollot avatar jamierumbelow avatar kevburnsjr avatar krisjordan avatar midnightmonster avatar nanotech avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.