Coder Social home page Coder Social logo

zf-mygengo's Introduction

Introduction

ZF-Mygengo is Zend Framework module for MyGengo(http://mygengo.com/)

Installation

Copy archive contents in your zend framework application folder

Add few configuration options to your configs/application.ini

resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
resources.modules[] = ""
autoloaderNamespaces[] = "Add_"    
autoloaderNamespaces[] = "myGengo_"    
mygengo.resources.layout.layout = "mygengo"  

Set up your Api and Private key in application/modules/mygengo/configs/mygengo.ini

Quickstart from scratch

  • Start by downloading ZendFramework from Official Site(http://framework.zend.com/download/latest) I have downloaded version "Zend Framework 1.11.3 Full"

  • Unpack contents to a directory where you can quick access in example ~/Sites/zf

  • Now either add ~/Sites/zf/bin to your PATH or run it via relative path

  • Create quickstart project

    cd ~/Sites
    sh ./zf/bin/zf.sh create project quickstart
    
  • Add symlink to a Zend framework library

    cd quickstart/library
    ln -s ~/Sites/zf/library/Zend .      
    
  • Enable layout

    cd ~/Sites/quickstart
    sh ../zf/bin/zf.sh enable layout
    
  • Checkout source zf-mygengo source code

    cd ~/Sites
    git clone [email protected]:shell/zf-mygengo.git
    

    or download it from download section

  • Unpack contents in your quickstart folder

    cp -R zf-mygengo/* quickstart/
    
  • Put your API and Private Key to quickstart/application/modules/configs/mygengo.ini

  • Add following options to [Production] section in quickstart/application/configs/application.ini

    resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
    resources.modules[] = ""
    autoloaderNamespaces[] = "Add_"    
    autoloaderNamespaces[] = "myGengo_"    
    mygengo.resources.layout.layout = "mygengo"                            
    
  • create assets directory public/images/mygengo

    cd quickstart
    mkdir -p public/images/mygengo
    
  • Configure your server's htdocs to ~/Sites or as in my case /Applications/MAMP/htdocs

  • You're all set to go! Check out page(http://localhost/quickstart/public/mygengo/)

Usage

Module uses application/layouts/scripts/mygengo.phtml layout

By default routes will be nested in /mygengo path Example (http://localhost:3000/mygengo/)

Screencasts

Installation(http://bit.ly/lR7VgM)

Usage(http://bit.ly/kDp28b)

TODO

  • placeholder

Author

Copyright (c) 2011 Vladimir Penkin

zf-mygengo's People

Contributors

shell avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

gengo

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.