background preloader

Tools Dev

Facebook Twitter

Kidsruby.com. Web Designer. Feedback & Online Help Desk Software. jQuery File Upload Demo. Strftimer - A Ruby strftime generator. Toutes les offres d'emplois disponibles en Ruby On Rails. Mercury Editor: The Rails HTML5 WYSIWYG Editor. Notfound.org. Les microdonnées par l’exemple. Introduites en HTML5, les microdonnées sont de simples attributs qui se greffent à la structure HTML.

Les microdonnées par l’exemple

Elles ont pour objet de décrire la nature du contenu à l’instar du RDFa et des microformats. Enrichir le contenu d’une surcouche qui puisse être comprise et interprétée par les différents programmes n’est bien sûr pas une nouveauté : ça fait bien longtemps que la question s’est posée et que des solutions ont été proposées.Malheureusement, elles n’ont jamais été totalement satisfaisantes : RDFa n’a jamais été utilisé à grande échelle du fait de sa complexité supposée, et si les microformats ont rencontré un vif succès, ils présentent l’inconvénient de détourner la nature de certains composants pour marquer le contenu et d’être difficilement extensibles. Intégrées au HTML, les microdonnées constituent une solution native pour enrichir le contenu.

Elles se présentent sous la forme de cinq nouveaux attributs : itemscope, itemtype, itemprop, itemref et itemid. Ici et ailleurs » Ruby on Rails. Send Email Using Rails. Advertisements Action Mailer is the Rails component that enables applications to send and receive e-mail.

Send Email Using Rails

In this chapter we will see how to send an email using Rails. So lets start with creating a emails project using following command. This will create required framework to proceed. Now we will start with configuring Action Mailer. Action Mailer - Configuration Following are the steps you have to follow to complete your configuration before proceeding with actual work: Go into config folder of your emails project and open environment.rb file and add the following line at the bottom of this file.

This tells ActionMailer that you want to user SMTP server. Add the following lines of code to the bottom of your environment.rb as well. Replace each hash value with proper settings for your Simple Mail Transfer Protocol (SMTP) server. You may also change the default email message format. ActionMailer::Base.default_content_type could be set to "text/plain", "text/html", and "text/enriched".

Your community gem host. #199 Mobile Devices. Emulateur mobile (by COWEMO) Getting Started with Your Facebook App on Heroku. Facebook Table of Contents A Facebook app typically uses an SDK to interact with the Facebook API, using Facebook’s Graph API and FQL to retrieve and post information to Facebook.

Getting Started with Your Facebook App on Heroku

A Facebook application can easily be developed and deployed to Heroku (in any of Heroku’s supported languages) which has code that interacts with Facebook’s APIs in this manner. This guide is for Facebook developers who develop and deploy their applications on Heroku. It assumes no previous knowledge of Heroku, and will walk through every part of the process: creating an app and a Heroku account, setting up local development tools, and deploying changes to your Facebook app. Prerequisites Basic Facebook app creation knowledgeBasic Git knowledgeA Heroku user account. Local workstation setup Install the Heroku Toolbelt on your local workstation.

Once installed, you use the heroku command from your command shell. How To: Local Facebook App Development. Introduction Developing any computer application is a process that will inevitably involve many mistakes, bugs, and other trials.

How To: Local Facebook App Development

Indeed, half of writing an application is just testing the code to make sure it behaves correctly, and scratching your head when it doesn’t. Clearly, you want to shield your end-users from experiencing the app in such a state. So, one important and popular web application development technique is to have a local test server for development, only pushing code to the live server after it has been appropriately tested. This is a relatively easy process, especially if your local server (be it your laptop or some other computer on your local network) runs the same OS as your server. Writing Facebook apps adds a layer of challenge to this development pattern, since you can’t exactly download the Platform and run it on your computer, and anyway with all the overhead you wouldn’t want to. CSS Design: Going to Print. You’ve seen them before: links that say “click here for printer-friendly version” or words to that effect.

CSS Design: Going to Print

Every time you follow one of those links, you load a separate document that presents exactly the same information with a different layout, and probably different markup. That means somebody (or a script) had to take the original document and convert it to a stripped-down version that’s more suitable for print output. Maybe that somebody was even you. Print style sheets to the rescue#section1 One of the wonderful things about CSS is that it allows authors to create media-specific styles for a single document. Ajaxload - Ajax loading gif generator.

Responsive Design

HTML5 Boilerplate: The web's most popular front-end template. CSS Debutant : Premiers pas en CSS. Principe des CSS Le design d'un site évolue toujours au fil du temps.

CSS Debutant : Premiers pas en CSS

Le problème, lorsqu'on n'utilise pas de feuilles de style, c'est qu'il faut reprendre toutes les pages une à une pour modifier une police de caractère ou une couleur de fond... Avec les "Cascading Style Sheets" (CSS), ce lourd handicap est résolu. C'est dans la feuille de style que l'on va déclarer toute la mise en forme des pages : la couleur de fond, les polices de caractère, leurs couleurs, etc. Balises html de base Pour comprendre le fonctionnement du langage CSS, il est nécessaire d'avoir quelques notions en (x)html. The W3C Markup Validation Service. CSS - Feuille de style - Cours CSS - Cascading Style Sheets.

ROR Tutos

Background Gradients. .ex {