wiki:members/GRIP-UQAM

Version 161 (modified by Grip Uqam, 5 years ago) (diff)

--

Languages:

Who we are?

http://gripuqam.org We are french speaking so this page will be translated unsing the advise in faq/translate/pages

Wiki page we read or collaborate to write @ mayfirst

Tickets we follow

Taged with GRIP-UQAM

Results (1 - 10 of 21)

1 2 3
Ticket Modified Resolution Owner Summary
1 2 3

Taged with python, tendenci, django, pyramid, php, drupal7, drupal, golang, fastcgi, chelsea, ossie

Results (1 - 10 of 1093)

1 2 3 4 5 6 7 8 9 10 11
Ticket Modified Resolution Owner Summary
#16792 4 weeks ago Jamie McClelland syntax or SSL errors when importing mysql dump into Drupal site
#16685 2 months ago fixed JaimeV New parameters for USSEN.org website
1 2 3 4 5 6 7 8 9 10 11

Reported by us

No results

Taged with GRIP-UQAM with description

Results (1 of 21)

1 2 3 4 5 6 7 8 9 10 11
Ticket Modified Resolution Owner Summary
1 2 3 4 5 6 7 8 9 10 11

Development Tool

Pages we may need one day

Communication softwares

WebDAV

  • keyword: symbolic link web dav

Backup

DNS

  • $ dig @ns3.example.org +short www.example.org
    

Cron

  • Consider output to an (even empty) file a good practice allowing to check last time the command has been executed. This is because some subtle errors may prevent execution of cron commands, eg. see #11534
    ... &> cron/results/<file>
    
  • Consider nice and ionice to give priority to interactive tasks
    nice -n 127 ionice --class=idle ...
    

Email

Postgres

MongoDB

Database Clients

Git

Json

.json validator

Javascript packages: Bower

Composer

Web Applications

Useful Debian Packages (Chelsea)

Note Altern-C

To keep in mind

4875 id=4875 No results No results No results No results

drupal.org followup

JavaScript Libraries

http://www.sitepoint.com/11-best-jquery-charting-libraries

PHP Libraries

HTML Slides

Radical Servers

Fonts

HTML Programming

SQL Database Programming

Design Principles

Tree or Hierarchical Data

Blobs for documents

Serialized Objects

SQL

Views

sql procedural language

Supported features

Data Types
json
XML
  • Seems not yet to be in Firebird

Embedded Database Programming

sqlite

HSQLDB (Hyper SQL Database)

Postgres

Performance

Timing

Procedural Language

General information and Feature Lists

Release Notes and Documentation

MySQL

Stored Procedure

Firebird

Java Programming

Javascript Programming (Client Side)

Tree viewing

Frameworks

Comparisons

Javascript Programming (Server Side)

doctrine/orm

Doctrine Console

Relations

Cascade

  • doctrine ondelete
  • doctrine one to many cascade
  • 8. Working with Associations readthedocs
  • Doctrine Cascade Options for OneToMany// stackoverflow
  • cascade={“remove”} VS orphanRemoval=true VS ondelete="CASCADE stackoverflow

Events

Extensions - Behaviors

Gedmo are a standard, but Translatable is criticized

Compatibility Issues between Extensions

Audit, Revision or Loggable

Blameable

  • Updates string or reference fields on create, update and even property change with a string or object (e.g. user) Gedmo
  • Track creators and updators of a given entity KNP Labs

Filterable

Geocodable

  • Extensions to PostgreSQL platform in order to work with cube and earthdistance extensions KNP Labs

IpTraceable

  • Inherited from Timestampable, sets IP address instead of timestamp Gedmo

Joinable

  • KNP Labs

Loggable (see Audit, Revision)

References

  • Supports linking Entities in Documents and vice versa Gedmo

ReferenceIntegrity

  • Constrains ODM MongoDB Document references Gedmo

Revision (see Audit, Loggable)

Sluggable

SoftDeleteable

Sortable

Timestampable

Translatable

Translator

  • Explicit way to handle translations Gedmo

Tree

Uploadable

  • Provides file upload handling in entity fields Gedmo

Symfony Programming

Tutorials

Software using Symfony

EZ Plateform

Symfony Programming Tools

Hacking

autoload.php

MicroKernel

Components

Form

Translation
  • see Bundle-Form-Translation
  • see Bundle-Admin-Translation

Routing

RouteCollection vs RouteCollectionBuilder

RouteCollection

RouteCollectionBuilder

add(string $name, Route $route)

$this addRoute(Route $route, string|null $name = null)

Route add(string $path, string $controller, string|null $name = null

new RouteCollection()->add('root', new Route('/', [
    '_controller' => 'FrameworkBundle:Redirect:redirect',
    'route'       => 'sonata_admin_dashboard',
    'permanent'   => true,
])); // to check
new RouteCollectionBuilder()->addRoute(new Route('/', [
    '_controller' => 'FrameworkBundle:Redirect:redirect',
    'route'       => 'sonata_admin_dashboard',
    'permanent'   => true,
]),
    'root'
); // to check

Does not exist: cf $loader->import(...)

RouteCollectionBuilder import(mixed $resource, string|null $prefix = '/', string $type = null)

Does not exist: cf addCollection

mount($prefix, RouteCollectionBuilder $builder)

$collection = new RouteCollection();
$routing = $loader->import(
    "@SonataAdminBundle/Resources/config/sonata_admin.xml"
);
$routing->setPrefix('/admin');
$collection->addCollection($routing);
$routes->mount('/admin', $routes->import('@SonataAdminBundle/Resources/config/routing/sonata_admin.xml'));

Bundles

symfony/framework-standard-edition

  • WebProfilerBundle (in dev/test env) - Adds profiling functionality and the web debug toolbar
  • SensioDistributionBundle (in dev/test env) - Adds functionality for configuring and working with Symfony distributions
  • sensio/generator-bundle SensioGeneratorBundle fr (in dev/test env) - Adds code generation capabilities
    • Choosing the annotation format expects the SensioFrameworkExtraBundle to be installed
    • There should be one line of imports in the config.yml file! (otherwise changes may not be added to it!)
    • Generating a New Bundle Skeleton
      • in composer.json (for autoload):
            "autoload": {
                "psr-4": {
                    "": "src/"
                }
            }
        
        $ php bin/console generate:bundle --namespace=AppBundle --bundle-name=AppBundle --format=annotation --dir=../src --no-interaction
        
          Bundle generation
        
        > Generating a sample bundle skeleton into app/../src/AppBundle OK!
        > Checking that the bundle is autoloaded: OK
        > Enabling the bundle inside /...app/AppKernel.php: OK
        > Importing the bundle\'s routes from the app/config/routing.yml file: OK
        > Importing the bundle\'s services.yml from the app/config/config.yml file: OK
        
          Everything is OK! Now get to work :).  
        
      • files touched:
        • app/../src/AppBundle (directory and content generated)
        • app/AppKernel.php
        • app/config/routing.yml
        • app/config/config.yml (see note about line of import)
  • DebugBundle (in dev/test env) - Adds Debug and VarDumper component integration

Bundles documented by symfony.com

User

  • friendsofsymfony/user-bundle

Social Login

OAuth
HybridAuth
OpenID

Form related

Admin sonata-project/admin-bundle

Admin without Admin Bundle
Default value
Translation sonata-project/translation-bundle
Tree
Formatter
CKEditor

CKEditor

Tree

Tag and Taxonomy

News, Newsletter

Payment

Help Desk, Bug Tracking and Ticket

CLI code generation example

$ php bin/console generate:bundle --namespace=AppBundle --bundle-name=AppBundle --format=annotation --dir=../src --no-interaction
$ php bin/console assets:install ../web --symlink --relative
$ php bin/console doctrine:generate:entity --entity="AppBundle:Category" --fields="name:string(255)" --no-interaction
$ php bin/console doctrine:generate:entity --entity="AppBundle:BlogPost" --fields="title:string(255) body:text draft:boolean" --no-interaction
$ php bin/console doctrine:schema:create
$ php bin/console doctrine:schema:update # after modification

See

  • sensio/generator-bundle
  • doctrine/orm