background preloader

Développement web

Facebook Twitter

Créer un type de champ DateTimePicker avec jQuery et Symfony. Read the English version Dans ce post, nous allons expliquer comment créer un super type de champ personnalisé qui utilise le DatePicker de jQuery afin de gérer les saisies de date.

Créer un type de champ DateTimePicker avec jQuery et Symfony

Ensuite, nous allons l’étendre afin de créer un type de champ DateTime. Et le meilleur? C’est que ce type de champ sera localisé en fonction de la locale de l’utilisateur. C’est parti! Créer un type de champ DatePicker La première étape est de créer la classe du type de champ : <? Ensuite, vous devez enregistrer votre type de champ dans le conteneur de services : Vous devrez aussi modifier votre fichier de thème de formulaire pour ajouter votre logique spécifique : Vous pouvez maintenant utiliser votre nouveau type de formulaire, comme un type classique : // Acme/AcmeDemoBundle/Form/Type/DemoType.php // ... Lorsque vous affichez votre formulaire dans un template, n’oubliez pas d’utiliser votre thème de formulaire personnalisé. Finalement, incluez jQuery, jQuery UI Datepicker et le(s) fichier(s) de localisation.

Elasticsearch

Raphaël—JavaScript Library. Géomatique. Groupe joomla. Joomla! The CMS Trusted By Millions for their Websites. Joomla.fr - Joomla!fr Le portail des Utilisateurs Francophone de Joomla. Wikitude Studio.

ARML 1.0 Specification for Wikitude. ARML 2.0 SWG. 1.

ARML 2.0 SWG

Current Status of ARML 2.0 The latest version of ARML 2.0 specification can be found here: A subset of ARML 2.0 (called CARIF) was successfully demonstrated in live use at the Mobile World Congress in Barcelona by the leading AR Browser vendors Layar, Metaio and Wikitude.More information on this event can be found here: 2. ARML 2.0 Standards Working Group ARML (Augmented Reality Markup Language) 1.0 is a descriptive, XML based data format, specifically targeted for mobile Augmented Reality (AR) applications.

ARML 1.0 is fairly restrictive and focuses on functionality Wikitude required back in 2009. The ultimate goal of ARML 2.0 is to provide an extensible standard and framework for AR applications to serve the AR use cases currently used or developed. 3. The purpose of the SWG is to progress ARML 2.0 to the state of an adopted OGC standard. 3.1 What is out of scope? AR comprises diverse scientific and computational fields, all having to work together to make AR possible. Portal.opengeospatial. Apprendre les mises en page CSS.

GroundworkCSS ♥ A Responsive HTML5, CSS & Javascript Framework. Bootstrap CSS framework. Get the lowdown on the key pieces of Bootstrap's infrastructure, including our approach to better, faster, stronger web development.

Bootstrap CSS framework

HTML5 doctype Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects. <! DOCTYPE html><html lang="en"> ... Mobile first With Bootstrap 2, we added optional mobile friendly styles for key aspects of the framework. To ensure proper rendering and touch zooming, add the viewport meta tag to your <head>. You can disable zooming capabilities on mobile devices by adding user-scalable=no to the viewport meta tag. Bootstrap sets basic global display, typography, and link styles. Set background-color: #fff; on the body Use the @font-family-base, @font-size-base, and @line-height-base attributes as our typographic base Set the global link color via @link-color and apply link underlines only on :hover. High Performance PHP Framework for Web Development - Symfony.

Développez votre site web avec le framework Symfony2. Multiple applications with Symfony2. Multiple applications with Symfony2 As Symfony consultants, it’s a common request we have to split a Symfony2 project into multiple applications (à la symfony 1).

Multiple applications with Symfony2

Even if Fabien does not seem to approve this usage, this is an easy and supported task. You may need a lightweight Kernel for some heavy tasks, you can need another web root and hostname for your administration or whatever bundle, although you only want one deployment, only one project. Splitting your project in multiple one’s have a lot of implications. You will need new repositories for projects and shared core Bundles, two composer.lock which introduce a version mismatch risk, your deployment will get some more steps, your development environment will become more complex… This is not something all Symfony2 projects need or want. There are multiple benefits to split the Kernel: In the Symfony2 Standard Edition distribution, you have a default app/ directory, with an AppKernel.php file. But we do not want: The Kernel mv app/ apps/