Giter Site home page Giter Site logo

zf2-sandbox's Introduction

Evan's ZF2 Sandbox

Version 0.1.0 Created by Evan Coury

Introduction

This is just an area for me to mess around with ZF2 and try out various concepts. You may use it for reference / learning, but please do not use anything in this repository for anything close to production use. Everything here is very unstable.

Installation

This is the easiest way to get the fully functional project, including the proper version of ZF2:

git clone --recursive git://github.com/EvanDotPro/zf2-sandbox.git

Next, copy config/autoload/database.config.dist.php to config/autoload/database.config.php and edit it with your database credentials.

Now, import the schema in data/fullschema.sql.

Try it out! Go to http://yourvhost/user and you should be greeted with a login screen. Also you'll have a guestbook at http://yourvhost/guestbook.

The interesting thing is that the EdpUser module is using Doctrine2 by default, while the MwopGuestbook module is using Zend\Db\Table, yet they are sharing a single configured PDO instance. Cool, huh?

By the way, you can switch the EdpUser module to use Zend\Db instead of Doctrine by simply uncommenting one line in config/autoload/module.edpuser.config.php.

zf2-sandbox's People

Contributors

evandotpro avatar freeaqingme avatar

Stargazers

Gun.io Robot avatar

Watchers

Gun.io Robot 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.