GithubHelp home page GithubHelp logo

dagrinchi / symfony-chaplin-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pulse00/symfony-chaplin-demo

0.0 2.0 0.0 392 KB

Single-Page demo application written with Symfony and chaplin.js

License: MIT License

PHP 5.23% CoffeeScript 1.25% CSS 12.08% JavaScript 81.43%

symfony-chaplin-demo's Introduction

Symfony/chaplin.js single page app

This is a demo for a single page application implemented with Symfony as the REST backend and chaplin.js as the frontend.

This setup adds the following bundles to the standard-edition of Symfony:

The purpose of this app is to demonstrate the following concepts:

  • Providing a REST backend for a backbone.js / chaplin frontend
  • Securing the REST backend using oauth2 2-legged authentication
  • Reusing Symfony routes for the chaplin router to make full use of Symfonys environment concepts [prod/dev/etc]
  • Reusing serverside rendered markup from 3rd party bundles (e.g. FOSUserBundle login-form)
  • Provide SEO metadata for the initial page markup for public facing websites

Installation

  • curl -s https://getcomposer.org/installer | php && ./composer.phar install
  • php app/console doctrine:database:create
  • php app/console doctrine:schema:create
  • php app/console doctrine:fixtures:load
  • Create a virtualhost http://bookstore.local pointing the DocRoot to the web folder
  • Access http://bookstore.local.
  • Login with user chaplin password symfony

symfony-chaplin-demo's People

Contributors

pulse00 avatar cbourgois avatar dagrinchi avatar

Watchers

James Cloos 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.