I've collected all the links related to Backbone.js that I find useful. Most of these are well-built projects and epic guides (not ephemeral blog posts.) Please feel free to fork and even contribute.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace EntityMapperFramework { | |
class EntityMapper { | |
public function __construct() { | |
stream_wrapper_register('dynamicproxygenerator', __NAMESPACE__ . '\DynamicProxyGeneratorStream'); | |
} | |
public function createProxy($entity) { | |
$class = get_class($entity); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="ngCellText" ng-class="col.colIndex()" style="padding-top:5px; padding-left:5px;"> | |
<span ng-cell-text> | |
{{console.log(row)}} | |
{{row.getProperty(col.id)}} | |
<button type="button" class="btn btn-sm btn-default" title="Edit peddler"> | |
<span class="glyphicon glyphicon-edit"></span> | |
</button> | |
<button type="button" class="btn btn-sm btn-default" title="Pricing forumulas" ng-click="viewPricingFormulas()"> | |
<span class="glyphicon glyphicon-usd"></span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Zend\View\PhpRenderer' => array( | |
'parameters' => array( | |
'options' => array( | |
'script_paths' => array( | |
'MyModule' => __DIR__ . '/../view', | |
), | |
), | |
), | |
), | |
'Zend\View\HelperLoader' => array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Doctrine\Common\ClassLoader, | |
Doctrine\ORM\Tools\Setup, | |
Doctrine\ORM\Mapping\Driver\AnnotationDriver, | |
Doctrine\Common\Annotations\AnnotationReader, | |
Doctrine\ORM\EntityManager; | |
// Autoloaders | |
require_once __DIR__ . '/../lib/doctrine/lib/Doctrine/ORM/Tools/Setup.php'; | |
Doctrine\ORM\Tools\Setup::registerAutoloadGit(__DIR__ . '/../lib/doctrine'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
targetNamespace="http://doctrine-project.org/schemas/orm/doctrine-mapping" | |
xmlns:orm="http://doctrine-project.org/schemas/orm/doctrine-mapping" | |
elementFormDefault="qualified"> | |
<xs:annotation> | |
<xs:documentation><![CDATA[ | |
This is the XML Schema for the object/relational |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Doctrine\Common\Collections\ArrayCollection; | |
use Doctrine\ORM\Mapping as ORM; | |
/** | |
* Family relationship | |
* | |
* @ORM\Entity | |
* @ORM\Table(name="family") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I feel require separating target components into 4 or 5 sets | |
for "Which component should test?" | |
[a]. ".travis/new-and-upgrading-components" | |
- Stdlib, EventManager, Cache, Http, Loader, Log, Mail, Session, | |
Db , Uri, View | |
Serializer, Markup, | |
Module, Mvc & Docbook | |
[b-1]. ".travis/tested-components" (apply namespace & CS from zf1, not | |
planned updating for zf2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once "../layout/entities/User.php"; | |
require_once "../layout/entities/Broadcast.php"; | |
if (!class_exists("Doctrine\Common\Version", false)) { | |
require_once "doctrine_bootstrap.php"; | |
} |
OlderNewer