Skip to content

Instantly share code, notes, and snippets.

View kirkegaard's full-sized avatar

Christian Kirkegaard kirkegaard

View GitHub Profile
@kirkegaard
kirkegaard / developer_meetup.mdown
Created March 22, 2010 11:31
Notes for Verk's developer meetup

Developer Meetup

A collection of notes for our developer meet-up. This will be our agenda and help us streamline workflows in the development phase. This will also describe how we use tools like Basecamp with the rest of the company.

Version Control

We use Git and GitHub. We keep projects private as a rule of thumb and we release modules and code public. GitHub will also be our goto when we want an overview of a project, code wise. We will start out by having a Medium plan and upgrade when needed.

options:
type: INNODB
collate: utf8_general_ci
charset: utf8
User:
columns:
id:
type: integer
primary: true
Process: httpd [1464]
Path: /Applications/MAMP/Library/bin/httpd
Identifier: httpd
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: httpd [267]
Date/Time: 2010-03-24 19:53:37.021 +0100
OS Version: Mac OS X 10.6.1 (10B504)
Report Version: 6
Process: php [14351]
Path: /Applications/MAMP/bin/php5/bin/php
Identifier: php
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: bash [144]
Date/Time: 2010-03-24 21:12:32.877 +0100
OS Version: Mac OS X 10.6.1 (10B504)
Report Version: 6
<?php
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap {
protected function _initRestRoute() {
// $this->bootstrap('frontController');
// $frontController = Zend_Controller_Front::getInstance();
// $restRoute = new Zend_Rest_Route($frontController, array(), array(
// 'api',
[production]
; PHP Settings
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0
phpSettings.date.timezone = "Europe/Copenhagen"
resources.locale = "da_DK"
; Include Paths
includePaths.library = APPLICATION_PATH "/../library"
leno:1kid ranza$ ./scripts/doctrine build-all-reload
build-all-reload - Are you sure you wish to drop your databases? (y/n)
y
build-all-reload - Successfully dropped database for connection named 'onekid'
build-all-reload - Generated models successfully from YAML schema
build-all-reload - Successfully created database for connection named 'onekid'
build-all-reload - Created tables successfully
build-all-reload - Data was successfully loaded
leno:1kid ranza$ ./scripts/doctrine build-all-reload
build-all-reload - Are you sure you wish to drop your databases? (y/n)
<?php
/**
* Model_Base_Page
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @property integer $id
* @property integer $author_id
* @property boolean $isPublished
Model_PersonGroups:
Group_1:
name: Boys
Group_2:
name: Girls
Group_3:
name: Young Division
Model_Page:
Page_1:
<?php
class Backend_PageController extends Zend_Controller_Action {
public function preDispatch() {
$this->view->render('page/_sidebar.phtml');
}
public function init() {
if(!Zend_Auth::getInstance()->hasIdentity()) {