Giter Site home page Giter Site logo

learnzf2's Introduction

Learn ZF2

"Learn ZF2" (http://learnzf2.com) is a book dedidated to help you learn fast and easy Zend Framework 2.

HOT FIX Modified 6 but modified again

Source Code

The book is accompanied by source code from which you can learn by example. The source is based on the ZendSkeletonApplication version 2.1.0. You can get the latest version of the source code from its github repository: https://github.com/slaff/learnzf2

Zend Framework Book

For more information about the book and purchase options visit its official web site: http://learnzf2.com

Application

The final version of the source code comes with ready to test Zend Framework 2 web application with prefilled SQLite database.

Preparation

In order to get the dependant packages, like Zend Framework 2 for example, we have to run the following commands once in the beginning.

cd learnzf2/
./composer.phar self-update
./composer.phar install

Run from PHP built-in server

The easiest way to run the code, if you have PHP 5.4 or newer is to type:

cd learnzf2/
php -S 127.0.0.1:8080 -t public/

And then open in your browser the following URL: http://127.0.0.1:8080/

Run from separate web server

In order to use the application with via separate web server(Apache, NGINX, etc) make sure that:

The data/db/tc.sqlite file is readable from the web server user. The following commands can help you set the group to www-data and adjust the permissions.

chgrp www-data -R data/db
chmod g+rx data/db
chmod g+w data/db/tc.sqlite

Application Users

There are two users that you can use.

  1. Admin user with email: [email protected] and password admin123
  2. Member user with email: [email protected] and password member123.

If you want to take some of the sample exams that come with this application then you have to login and go to Exam -> List and choose one from the list.

learnzf2's People

Watchers

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