background preloader

Programacion

Facebook Twitter

Curso de Symfony2 | HardCoconut. Introducción a Node.js | HardCoconut. ¿Qué es Node.js? Node.js es JavaScript en el servidor, pero a diferencia de lenguajes cómo PHP o PERL no es un módulo o extensión para alguno de los servidores más conocidos. Es una plataforma en JavaScript para el desarrollo de servidores. Node es una nueva y emocionante forma de interactuar con el servidor. ¿Sólo una moda? Node.js ha adquirido gran notoriedad y está atrayendo a cada vez más desarrolladores interesados en su particular propuesta. Sí, puede ser la plataforma de moda de hoy, pero compañías como Yahoo!

, Google, Foursquare o Mozilla ya la están utilizando para sus desarrollos. ¿Qué vamos a aprender? ¿Alguna vez se ha preguntado cómo funciona el chat de Google, cómo se actualizan las notificaciones de Facebook o cómo Twitter es capaz de informar en tiempo real los tweets que hemos recibido? ¿Qué podré hacer una vez finalice? Tendrás conocimientos suficientes para crear tus primeras aplicaciones basadas en esta nueva plataforma de principio a fin. Fresh links for developers.

Javascript libraries

Become a Web Developer from Scratch. Learn to Develop an iPhone or iPad App in 4 Weeks by Bess Ho. PeepCode | Programming and Development Tutorial Screencasts for Web Developers and Alpha Geeks. Code School Enrollment. Comicflow - Full source code for the ComicFlow comic reader for iPad. Vip.aersia.net/vip.swf.

Game development. Html5. Showing error messages in Concrete5 system pages. Concrete5 user JordanLev wrote a reply to a post a while back that detailed his method for customizing the Concrete5 system pages (for example: login, page not found, register, etc) that is infinitely easier to manage and maintain than other traditional methods. So how does this work?

Step by step, here we go: 1. Go to YOURSITE/config/site_theme_paths.php and uncomment the following code: $v = View::getInstance();$v->setThemeByPath('/login', 'my_theme_handle');$v->setThemeByPath('/register', 'my_theme_handle');$v->setThemeByPath('/page_not_found', 'my_theme_handle');$v->setThemeByPath('/page_forbidden', 'my_theme_handle');$v->setThemeByPath('/download_file', 'my_theme_handle');$v->setThemeByPath('/maintenance_mode', 'my_theme_handle'); Where it says "my_theme_handle", replace that text with the folder name of your theme as seen in (root)/themes. 2. 3. <? 5. As a note, I have only been able to get this working on sites running Concrete 5.4.2+, but your results may vary.

Making a theme from start to finish. Curious First Look at Socket.IO and node.js. Published: topics: javascript node Being fairly new to node.js, and even newer to the use of Socket.IO, I had a very interesting morning exploring some of the behaviors of Socket.IO. I thought I'd share the things that raised my eyebrows. I don't want to spend a ton of time on getting started with node.js or learning Socket.IO.

Hello World Has Surprise Lessons The first thing I noticed is that it is a bit surprising — even alarming — how little you need to get a hello world example working. So after installing node and io, I just made a folder with a couple files: $ ls -a ./ ../ index.html server.js The file server.js is for node.js, and we'll run it as the HTTP and WebSockets server. The file index.html will be served up statically over HTTP to a connecting browser. So now I can start the server: $ node server.js Now if you're really paying attention closely, you should have some questions right now.

Question 1. Question 2. Well, this is the part that alarmed me a bit. Client index.html code: Servicios REST usando Silex micro-framework 2/2 « micayael. Rating: 4.7/5 (3 votes cast) Dando continuidad al artículo anterior sobre servicios REST usando el micro-framework Silex, hoy hablaremos sobre la implementación del código que fue publicado en GitHub como base de este proyecto. NOTA: En este artículo veremos lo esencial del código usado para este proyecto pero se aconseja primeramente una lectura de la documentación oficial de Silex. En caso de conocer como funciona Symfony2 esto te será muy familiar. Objetivo y alcance del Proyecto El proyecto que usaremos se basará en crear una tabla de comentarios y realizar servicios REST para lograr un CRUD (create, read, update, delete) de la misma.

NOTA: La sentencia SQL para crear la tabla y otras utilidades las podrán encontrar en la WIKI del proyecto cuya dirección se encuentra en el archivo README.md en la raíz del proyecto. Tendremos 4 servicios REST definidos en el proyecto: En los cuatro casos explicados arriba se procesará el pedido y devolverá información. Configuraciones iniciales Me gusta: Create Kick-ass Website in no Time with Silex | Umpirsky Software Development Blog. We are constantly looking for ways to do things better with a minimum of effort. That moves the technology forward, that’s why new programming languages and frameworks are written. Last week I needed a small website. I wanted it to be quick and dirty.

Well, blazing fast and not so dirty. Silex Silex is a PHP microframework for PHP 5.3 developed by Fabien Potencier and Igor Wiedler. Code speak for itself, so lets jump into example from Silex website: Can it be any easier? The entire idea is not very new, as I already said, it is inspired by Sinatra, application framework written in Ruby. Based on Symfony componentsDI containerHigh quality codebasePowerful extension mechanism TestableFun to use Working Example I have a simple portfolio website umpirsky.com built in Zend Framework and I decided to migrate it to Silex. To get started I added few git submodules: Silex – core framework.Twig – template engine.Swiftmailer – for sending emails from contact form.Symfony – form component.

Media Gallery. Media gallery The Media gallery feature allows you to create multimedia galleries on your Drupal Gardens website where your users can then see slideshows of your images and YouTube videos in a lightbox floating above your site, or you can display individual items on their own pages. The Drupal Gardens media gallery creates thumbnails of your images for you, pulling in video descriptions directly from YouTube and more.

You just tag and label your stuff, arrange your galleries by dragging items, and you are ready to go! Video playback is supported via HTML5 or Flash allowing playback in all platforms including iPhone and iPad. Enabling this feature To enable this feature as you create your Drupal Gardens website, drag the slider for Media gallery to On on the Choose a template page. If you enable the feature from the Choose a template page, Drupal Gardens makes the following changes to your website: What is a lightbox? Creative Commons attributions. Udacity - Educating the 21st Century. Alphalemon CMS built on top of Symfony2 Framework. The OpenPhoto Project. Purpose of the Get Groups API Use this API to get a list of the user's groups.

Endpoint Authentication: required GET /groups/list.json Parameters None Examples Command Line (using openphoto-php) source secrets.sh . PHP (using openphoto-php) $client = new OpenPhotoOAuth($host, $consumerKey, $consumerSecret, $oauthToken, $oauthTokenSecret); $response = $client->get("/groups/list.json"); Response The response is in a standard response envelope. message, A string describing the result. Sample. 5gig. HTML5 Video Wrapper for YouTube and Vimeo API – MediaElement.js. YouTube and Vimeo APIs YouTube and Vimeo have nice APIs to allow JavaScript developers to control the playback of embedded content (oh, and YouTube has a new design). They’ve also updated the APIs to use the newer <iframe> embed style instead requiring <object><embed> flash tags.

But as powerful as those APIs are, they are not consistent with each other and neither one conforms to HTML5 <video> properties or events so you can’t leverage your existing skills or code. MediaElement.js HTML5 Wrapper To make the YouTube and Vimeo APIs easier to use, I wrapped the MediaElement.js shim structure around their proprietary APIs to make them feel like HTML5. Then to build a full-fledged player that is CSS skinnable on top of YouTube Chromeless , you can simply call the MediaElementPlayer like this: Demo Once the success event fires, the media object is a JavaScript wrapper that mimics the HTML5 Media API, but under the hood is really a wrapper around YouTube’s API. Gotchas Demo Download. Video Player Web App.