Permalink
Browse files

initial

  • Loading branch information...
1 parent 9e7bec4 commit 43c47dca31abdddf8463de4a672fab0ff5e2687c Michael Romer committed Mar 15, 2011
Showing 3,293 changed files with 787,243 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
View
@@ -0,0 +1 @@
+zf-boilerplate
View
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
+</project>
+
View
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="DependencyValidationManager">
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
+ </component>
+ <component name="ProjectResources">
+ <default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
+ </component>
+ <component name="ProjectRootManager" version="2" />
+</project>
+
View
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="ProjectModuleManager">
+ <modules>
+ <module fileurl="file://$PROJECT_DIR$/.idea/zf-boilerplate.iml" filepath="$PROJECT_DIR$/.idea/zf-boilerplate.iml" />
+ </modules>
+ </component>
+</project>
+
View
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="VcsDirectoryMappings">
+ <mapping directory="" vcs="Git" />
+ </component>
+</project>
+
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="WEB_MODULE" version="4">
+ <component name="NewModuleRootManager">
+ <content url="file://$MODULE_DIR$" />
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ </component>
+</module>
+
View
@@ -0,0 +1,143 @@
+<?xml version="1.0"?>
+<projectProfile type="default" version="1.10">
+ <projectDirectory>
+ <projectProfileFile filesystemName=".zfproject.xml"/>
+ <applicationDirectory classNamePrefix="Application_">
+ <apisDirectory enabled="false"/>
+ <configsDirectory>
+ <applicationConfigFile type="ini"/>
+ </configsDirectory>
+ <controllersDirectory>
+ <controllerFile controllerName="Index">
+ <actionMethod actionName="index"/>
+ <actionMethod actionName="header"/>
+ <actionMethod actionName="footer"/>
+ </controllerFile>
+ <controllerFile controllerName="Error"/>
+ </controllersDirectory>
+ <formsDirectory enabled="false"/>
+ <layoutsDirectory enabled="false"/>
+ <modelsDirectory/>
+ <modulesDirectory>
+ <moduleDirectory moduleName="site">
+ <apisDirectory enabled="false"/>
+ <configsDirectory enabled="false"/>
+ <controllersDirectory>
+ <controllerFile controllerName="Index">
+ <actionMethod actionName="index"/>
+ </controllerFile>
+ </controllersDirectory>
+ <formsDirectory enabled="false"/>
+ <layoutsDirectory enabled="false"/>
+ <modelsDirectory/>
+ <viewsDirectory>
+ <viewScriptsDirectory>
+ <viewControllerScriptsDirectory forControllerName="Index">
+ <viewScriptFile forActionName="index"/>
+ </viewControllerScriptsDirectory>
+ </viewScriptsDirectory>
+ <viewHelpersDirectory/>
+ <viewFiltersDirectory/>
+ </viewsDirectory>
+ </moduleDirectory>
+ <moduleDirectory moduleName="admin">
+ <apisDirectory enabled="false"/>
+ <configsDirectory enabled="false"/>
+ <controllersDirectory>
+ <controllerFile controllerName="Index">
+ <actionMethod actionName="index"/>
+ <actionMethod actionName="header"/>
+ <actionMethod actionName="footer"/>
+ </controllerFile>
+ </controllersDirectory>
+ <formsDirectory enabled="false"/>
+ <layoutsDirectory enabled="false"/>
+ <modelsDirectory/>
+ <viewsDirectory>
+ <viewScriptsDirectory>
+ <viewControllerScriptsDirectory forControllerName="Index">
+ <viewScriptFile forActionName="index"/>
+ </viewControllerScriptsDirectory>
+ <viewControllerScriptsDirectory forControllerName="Index">
+ <viewScriptFile forActionName="header"/>
+ </viewControllerScriptsDirectory>
+ <viewControllerScriptsDirectory forControllerName="Index">
+ <viewScriptFile forActionName="footer"/>
+ </viewControllerScriptsDirectory>
+ </viewScriptsDirectory>
+ <viewHelpersDirectory/>
+ <viewFiltersDirectory/>
+ </viewsDirectory>
+ </moduleDirectory>
+ <moduleDirectory moduleName="my">
+ <apisDirectory enabled="false"/>
+ <configsDirectory enabled="false"/>
+ <controllersDirectory/>
+ <formsDirectory enabled="false"/>
+ <layoutsDirectory enabled="false"/>
+ <modelsDirectory/>
+ <viewsDirectory>
+ <viewScriptsDirectory/>
+ <viewHelpersDirectory/>
+ <viewFiltersDirectory/>
+ </viewsDirectory>
+ </moduleDirectory>
+ </modulesDirectory>
+ <viewsDirectory>
+ <viewScriptsDirectory>
+ <viewControllerScriptsDirectory forControllerName="Index">
+ <viewScriptFile forActionName="index"/>
+ </viewControllerScriptsDirectory>
+ <viewControllerScriptsDirectory forControllerName="Error">
+ <viewScriptFile forActionName="error"/>
+ </viewControllerScriptsDirectory>
+ <viewControllerScriptsDirectory forControllerName="Index">
+ <viewScriptFile forActionName="header"/>
+ </viewControllerScriptsDirectory>
+ <viewControllerScriptsDirectory forControllerName="Index">
+ <viewScriptFile forActionName="footer"/>
+ </viewControllerScriptsDirectory>
+ </viewScriptsDirectory>
+ <viewHelpersDirectory/>
+ <viewFiltersDirectory enabled="false"/>
+ </viewsDirectory>
+ <bootstrapFile filesystemName="Bootstrap.php"/>
+ </applicationDirectory>
+ <dataDirectory enabled="false">
+ <cacheDirectory enabled="false"/>
+ <searchIndexesDirectory enabled="false"/>
+ <localesDirectory enabled="false"/>
+ <logsDirectory enabled="false"/>
+ <sessionsDirectory enabled="false"/>
+ <uploadsDirectory enabled="false"/>
+ </dataDirectory>
+ <docsDirectory>
+ <file filesystemName="README.txt"/>
+ </docsDirectory>
+ <libraryDirectory>
+ <zfStandardLibraryDirectory enabled="false"/>
+ </libraryDirectory>
+ <publicDirectory>
+ <publicStylesheetsDirectory enabled="false"/>
+ <publicScriptsDirectory enabled="false"/>
+ <publicImagesDirectory enabled="false"/>
+ <publicIndexFile filesystemName="index.php"/>
+ <htaccessFile filesystemName=".htaccess"/>
+ </publicDirectory>
+ <projectProvidersDirectory enabled="false"/>
+ <temporaryDirectory enabled="false"/>
+ <testsDirectory>
+ <testPHPUnitConfigFile filesystemName="phpunit.xml"/>
+ <testApplicationDirectory>
+ <testApplicationBootstrapFile filesystemName="bootstrap.php"/>
+ <testApplicationControllerDirectory>
+ <testApplicationControllerFile filesystemName="IndexControllerTest.php"/>
+ <testApplicationControllerFile filesystemName="IndexControllerTest.php"/>
+ </testApplicationControllerDirectory>
+ </testApplicationDirectory>
+ <testLibraryDirectory>
+ <testLibraryBootstrapFile filesystemName="bootstrap.php"/>
+ </testLibraryDirectory>
+ </testsDirectory>
+ </projectDirectory>
+</projectProfile>
View
1 README
@@ -0,0 +1 @@
+This file was created by JetBrains PhpStorm 2.0 for binding GitHub repository
View
@@ -0,0 +1,36 @@
+<?php
+
+class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
+{
+ public function _initAutoloaderNamespaces()
+ {
+ require_once APPLICATION_PATH . '/../library/Doctrine/Common/ClassLoader.php';
+
+ $autoloader = \Zend_Loader_Autoloader::getInstance();
+ $fmmAutoloader = new \Doctrine\Common\ClassLoader('Bisna');
+ $autoloader->pushAutoloader(array($fmmAutoloader, 'loadClass'), 'Bisna');
+ $fmmAutoloader = new \Doctrine\Common\ClassLoader('Ctrlr');
+ $autoloader->pushAutoloader(array($fmmAutoloader, 'loadClass'), 'Ctrlr');
+
+ require_once APPLICATION_PATH . '/../library/Symfony/Component/Di/sfServiceContainerAutoloader.php';
+ sfServiceContainerAutoloader::register();
+ }
+
+ public function _initModuleLayout()
+ {
+ $front = Zend_Controller_Front::getInstance();
+ $front->registerPlugin(new Ctrlr_Controller_Plugin_ModuleLayout());
+ $front->setParam('prefixDefaultModule', true);
+ $eh = new Zend_Controller_Plugin_ErrorHandler();
+ $front = Zend_Controller_Front::getInstance()->registerPlugin($eh);
+ }
+
+ public function _initServices()
+ {
+ $sc = new sfServiceContainerBuilder();
+ $loader = new sfServiceContainerLoaderFileXml($sc);
+ $loader->load(APPLICATION_PATH . "/configs/services.xml");
+ Zend_Registry::set('sc', $sc);
+ }
+
+}
@@ -0,0 +1,118 @@
+[production]
+resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"
+
+; --------------------------
+; PHP Specific Configuration
+; --------------------------
+phpSettings.display_startup_errors = 1
+phpSettings.display_errors = 1
+
+includePaths.library = APPLICATION_PATH "/../library"
+includePaths.resource = APPLICATION "/../library/Bisna/Application/Resource"
+
+
+; ----------------------------------------
+; Zend Framework Application Configuration
+; ----------------------------------------
+bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
+bootstrap.class = "Bootstrap"
+
+pluginPaths.Ctrlr_Resource = "Ctrlr/Resource"
+pluginPaths.Bisna_Application_Resource = "Bisna/Application/Resource"
+appnamespace = "Application"
+resources.depInjector = 1
+
+; ------------------------------
+; Front Controller Configuration
+; ------------------------------
+
+resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
+resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
+resources.frontController.params.displayExceptions = 0
+resources.frontController.defaultModule = "site"
+
+
+; ------------------------------------------------------------------------------
+; Doctrine Cache Configuration
+; ------------------------------------------------------------------------------
+
+; Points to default cache instance to be used. Optional is only one cache is defined
+resources.doctrine.cache.defaultCacheInstance = default
+
+; Cache Instance configuration for "default" cache
+;resources.doctrine.cache.instances.default.id = default
+resources.doctrine.cache.instances.default.adapterClass = "Doctrine\Common\Cache\ArrayCache"
+resources.doctrine.cache.instances.default.namespace = "Application_"
+resources.doctrine.cache.instances.default.options.servers.0.host = localhost
+resources.doctrine.cache.instances.default.options.servers.0.port = 11211
+;resources.doctrine.cache.instances.default.options.servers.0.persistent = true
+;resources.doctrine.cache.instances.default.options.servers.0.weight = 1
+;resources.doctrine.cache.instances.default.options.servers.0.timeout = 1
+;resources.doctrine.cache.instances.default.options.servers.0.retryInterval = 15
+;resources.doctrine.cache.instances.default.options.servers.0.status = true
+
+; ------------------------------------------------------------------------------
+; Doctrine DBAL Configuration
+; ------------------------------------------------------------------------------
+
+; Points to default connection to be used. Optional if only one connection is defined
+resources.doctrine.dbal.defaultConnection = default
+
+; DBAL Connection configuration for "default" connection
+;resources.doctrine.dbal.connections.default.id = default
+;resources.doctrine.dbal.connections.default.eventManagerClass = "Doctrine\Common\EventManager"
+;resources.doctrine.dbal.connections.default.eventSubscribers[] = "DoctrineExtensions\Sluggable\SluggableSubscriber"
+;resources.doctrine.dbal.connections.default.configurationClass = "Doctrine\DBAL\Configuration"
+;resources.doctrine.dbal.connections.default.sqlLoggerClass = "Doctrine\DBAL\Logging\EchoSQLLogger"
+
+; Database configuration
+;resources.doctrine.dbal.connections.default.parameters.wrapperClass = ""
+resources.doctrine.dbal.connections.default.parameters.driver = "pdo_mysql"
+resources.doctrine.dbal.connections.default.parameters.dbname = "ctrlr"
+resources.doctrine.dbal.connections.default.parameters.host = "localhost"
+resources.doctrine.dbal.connections.default.parameters.port = 3306
+resources.doctrine.dbal.connections.default.parameters.user = "root"
+resources.doctrine.dbal.connections.default.parameters.password = ""
+;resources.doctrine.dbal.connections.default.parameters.driverOptions.ATTR_USE_BUFFERED_QUERIES = true
+
+
+; ------------------------------------------------------------------------------
+; Doctrine ORM Configuration
+; ------------------------------------------------------------------------------
+
+; Points to default EntityManager to be used. Optional if only one EntityManager is defined
+resources.doctrine.orm.defaultEntityManager = default
+
+; EntityManager configuration for "default" manager
+;resources.doctrine.orm.entityManagers.default.id = default
+;resources.doctrine.orm.entityManager.default.entityManagerClass = "Doctrine\ORM\EntityManager"
+;resources.doctrine.orm.entityManager.default.configurationClass = "Doctrine\ORM\Configuration"
+;resources.doctrine.orm.entityManager.default.entityNamespaces.app = "Application\Entity"
+resources.doctrine.orm.entityManagers.default.connection = default
+resources.doctrine.orm.entityManagers.default.proxy.autoGenerateClasses = false
+resources.doctrine.orm.entityManagers.default.proxy.namespace = "Ctrlr\Entity\Proxy"
+resources.doctrine.orm.entityManagers.default.proxy.dir = APPLICATION_PATH "/../library/Ctrlr/Entity/Proxy"
+;resources.doctrine.orm.entityManagers.default.metadataCache = default
+;resources.doctrine.orm.entityManagers.default.queryCache = default
+;resources.doctrine.orm.entityManagers.default.resultCache = default
+;resources.doctrine.orm.entityManagers.default.DQLFunctions.numeric.PI = "DoctrineExtensions\ORM\Query\Functions\Numeric\PiFunction"
+resources.doctrine.orm.entityManagers.default.metadataDrivers.0.adapterClass = "Doctrine\ORM\Mapping\Driver\AnnotationDriver"
+resources.doctrine.orm.entityManagers.default.metadataDrivers.0.mappingNamespace = "Ctrlr\Entity"
+resources.doctrine.orm.entityManagers.default.metadataDrivers.0.mappingDirs[] = APPLICATION_PATH "/../library/Ctrlr/Entity"
+resources.doctrine.orm.entityManagers.default.metadataDrivers.0.annotationReaderClass = "Doctrine\Common\Annotations\AnnotationReader"
+resources.doctrine.orm.entityManagers.default.metadataDrivers.0.annotationReaderCache = default
+;resources.doctrine.orm.entityManagers.default.metadataDrivers.0.annotationReaderNamespaces.App = "Application\DoctrineExtensions\ORM\Mapping"
+
+
+[staging : production]
+
+
+[testing : production]
+phpSettings.display_startup_errors = 1
+phpSettings.display_errors = 1
+
+
+[development : production]
+phpSettings.display_startup_errors = 1
+phpSettings.display_errors = 1
+resources.frontController.params.displayExceptions = 1
@@ -0,0 +1,11 @@
+<?xml version="1.0" ?>
+<container xmlns="http://symfony-project.org/2.0/container">
+ <services>
+ <service id="testservice" class="Ctrlr\Service\Testservice" shared="true">
+ <argument>horst</argument>
+ <argument type="service" id="reverser" />
+ </service>
+ <service id="reverser" class="Ctrlr\Service\Reverser" shared="true">
+ </service>
+ </services>
+</container>
Oops, something went wrong.

0 comments on commit 43c47dc

Please sign in to comment.