Permalink
Browse files

Directory structure reorganization.

Vendors dependencies are no longer included.
Example ZF application now included under sandbox directory.
  • Loading branch information...
1 parent d3cb615 commit 51f8b194d33040312541d54d11d431d3aac35ddc @loicfrering committed Aug 12, 2010
Showing 3,153 changed files with 45 additions and 737,804 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
View
@@ -1 +1,2 @@
nbproject/
+sandbox/library/
View
@@ -1,64 +0,0 @@
-<?xml version="1.0"?>
-<projectProfile>
- <projectDirectory>
- <projectProfileFile/>
- <applicationDirectory classNamePrefix="Application_">
- <apisDirectory enabled="false"/>
- <configsDirectory>
- <applicationConfigFile type="ini"/>
- </configsDirectory>
- <controllersDirectory>
- <controllerFile controllerName="Index">
- <actionMethod actionName="index"/>
- </controllerFile>
- <controllerFile controllerName="Error"/>
- </controllersDirectory>
- <formsDirectory enabled="false"/>
- <layoutsDirectory enabled="false"/>
- <modelsDirectory/>
- <modulesDirectory enabled="false"/>
- <viewsDirectory>
- <viewScriptsDirectory>
- <viewControllerScriptsDirectory forControllerName="Index">
- <viewScriptFile forActionName="index"/>
- </viewControllerScriptsDirectory>
- <viewControllerScriptsDirectory forControllerName="Error">
- <viewScriptFile forActionName="error"/>
- </viewControllerScriptsDirectory>
- </viewScriptsDirectory>
- <viewHelpersDirectory/>
- <viewFiltersDirectory enabled="false"/>
- </viewsDirectory>
- <bootstrapFile/>
- </applicationDirectory>
- <dataDirectory enabled="false">
- <cacheDirectory enabled="false"/>
- <searchIndexesDirectory enabled="false"/>
- <localesDirectory enabled="false"/>
- <logsDirectory enabled="false"/>
- <sessionsDirectory enabled="false"/>
- <uploadsDirectory enabled="false"/>
- </dataDirectory>
- <libraryDirectory>
- <zfStandardLibraryDirectory enabled="false"/>
- </libraryDirectory>
- <publicDirectory>
- <publicStylesheetsDirectory enabled="false"/>
- <publicScriptsDirectory enabled="false"/>
- <publicImagesDirectory enabled="false"/>
- <publicIndexFile/>
- <htaccessFile/>
- </publicDirectory>
- <projectProvidersDirectory enabled="false"/>
- <temporaryDirectory enabled="false"/>
- <testsDirectory>
- <testPHPUnitConfigFile/>
- <testApplicationDirectory>
- <testApplicationBootstrapFile/>
- </testApplicationDirectory>
- <testLibraryDirectory>
- <testLibraryBootstrapFile/>
- </testLibraryDirectory>
- </testsDirectory>
- </projectDirectory>
-</projectProfile>
View
19 LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2010 Loïc Frering
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is furnished
+to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
25 README
@@ -0,0 +1,25 @@
+README
+======
+
+What is LoSoLib?
+----------------
+
+LoSoLib provides a collection of components for Zend Framework applications which allows to build solid multi-layered architectures.
+
+It particularly contains:
+
+* A Symfony Dependency Injection container integration
+* An annotation loader for Symfony Dependency Injection Container
+* A Doctrine 2 integration
+* Other useful components
+
+Requirements
+------------
+
+LoSoLib requires PHP 5.3 or later.
+
+License
+-------
+
+The files in this archive are released under the MIT license.
+You can find a copy of this license in the LICENSE file.
@@ -1,81 +0,0 @@
-<?php
-/*
- * $Id$
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * and is licensed under the LGPL. For more information, see
- * <http://www.doctrine-project.org>.
- */
-
-namespace Doctrine\Common\Annotations;
-
-/**
- * Annotations class
- *
- * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
- * @link www.doctrine-project.org
- * @since 2.0
- * @version $Revision$
- * @author Benjamin Eberlei <kontakt@beberlei.de>
- * @author Guilherme Blanco <guilhermeblanco@hotmail.com>
- * @author Jonathan Wage <jonwage@gmail.com>
- * @author Roman Borschel <roman@code-factory.org>
- */
-class Annotation
-{
- /**
- * Value property. Common among all derived classes.
- *
- * @var string
- */
- public $value;
-
- /**
- * Constructor
- *
- * @param array $data Key-value for properties to be defined in this class
- */
- public final function __construct(array $data)
- {
- foreach ($data as $key => $value) {
- $this->$key = $value;
- }
- }
-
- /**
- * Error handler for unknown property accessor in Annotation class.
- *
- * @param string $name Unknown property name
- */
- public function __get($name)
- {
- throw new \BadMethodCallException(
- sprintf("Unknown property '%s' on annotation '%s'.", $name, get_class($this))
- );
- }
-
- /**
- * Error handler for unknown property mutator in Annotation class.
- *
- * @param string $name Unkown property name
- * @param mixed $value Property value
- */
- public function __set($name, $value)
- {
- throw new \BadMethodCallException(
- sprintf("Unknown property '%s' on annotation '%s'.", $name, get_class($this))
- );
- }
-}
@@ -1,59 +0,0 @@
-<?php
-/*
- * $Id$
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * and is licensed under the LGPL. For more information, see
- * <http://www.doctrine-project.org>.
- */
-
-namespace Doctrine\Common\Annotations;
-
-/**
- * Description of AnnotationException
- *
- * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
- * @link www.doctrine-project.org
- * @since 2.0
- * @version $Revision$
- * @author Benjamin Eberlei <kontakt@beberlei.de>
- * @author Guilherme Blanco <guilhermeblanco@hotmail.com>
- * @author Jonathan Wage <jonwage@gmail.com>
- * @author Roman Borschel <roman@code-factory.org>
- */
-class AnnotationException extends \Exception
-{
- /**
- * Creates a new AnnotationException describing a Syntax error.
- *
- * @param string $message Exception message
- * @return AnnotationException
- */
- public static function syntaxError($message)
- {
- return new self('[Syntax Error] ' . $message);
- }
-
- /**
- * Creates a new AnnotationException describing a Semantical error.
- *
- * @param string $message Exception message
- * @return AnnotationException
- */
- public static function semanticalError($message)
- {
- return new self('[Semantical Error] ' . $message);
- }
-}
Oops, something went wrong.

0 comments on commit 51f8b19

Please sign in to comment.