background preloader

AlloyUI

AlloyUI

Schedule.js Quick start Step 1: Install Schedule is available through both npm and bower. After installing, Schedule is available in the schedule namespace. Using npm and Node.js: $ npm install schedulejs var schedule = require('schedulejs'); Using bower and a browser: $ bower install later $ bower install schedule <script src="later.min.js" type="text/javascript"></script><script src="schedule.min.js" type="text/javascript"></script><script type="text/javascript"> // schedule namespace is available </script> More information on building, running tests, and running benchmarks. Step 2: Define your tasks Tasks are the things that you want to schedule. Specifying dependencies between tasks Adding a Later schedule that determines when the task is available Including one or more resources that the task requires (supports AND and OR semantics) Providing a priority that determines task order after dependencies have been met Indicating whether or not the task can be split up into multiple time blocks

Raphaël—JavaScript Library Blog Only 5% of the end-user response time is spent fetching the HTML document. This result holds true for almost all web sites. The most part of websites spend less than 20% of the total response time getting the HTML document. The other 80+% of the time is spent dealing with what's in the HTML document, namely, the front-end. That's why the key to faster web sites is to focus on improving front-end performance. (thanks YAHOO!) There are three main reasons why front-end performance is the place to start. There is more potential for improvement by focusing on the front-end. The performance golden rule is: optimize front-end performance first, that's where 80% or more of the end-user response time is spent. Based on this "golden rules" me and Brian Chan decided (while the New Year's Eve party) to give a New Year's present for Liferay community and start a serie of performance improvements on our front-end. 1. CSS Sprites are the preferred method for reducing the number of image requests. 2. 3.

Ember.js - Getting Started: Creating a Static Mockup Before adding any code, we can roughly sketch out the layout of our application. In your text editor, create a new file and name it index.html. This file will contain the HTML templates of our completed application and trigger requests for the additional image, stylesheet, and JavaScript resources. To start, add the following text to index.html: The associated stylesheet and background image for this project should be downloaded and placed in the same directory as index.html Open index.html in your web browser to ensure that all assets are loading correctly. Live Preview Additional Resources

50 Amazing jQuery Plugins That You Should Start Using Right Now jQuery has a wonderful community of programmers that create incredible things. However, it may become difficult to sift through everything that is released and find the gems that are absolute must-haves. This is why, in this post, you will find a collection of 50 new jQuery plugins and JavaScript libraries that, when applied with good measure, can make your sites a joy to use. The plugins are organized into categories for easier browsing. Dialogs The browser's built-in dialogs are easy to use but are ugly and non-customizable. 1. Alertify (github) is small library for presenting beautiful dialog windows and notifications. alertify.alert("Message"); alertify.confirm("Message", function (e) { if (e) { } else { } }); 2. jQuery Avgrund jQuery Avgrund (github) is another cool dialog solution. Forms Forms are tedious and boring. 3. iCheck iCheck (github) is a jQuery plugin that enhances your form controls. 4. Long Press is a jQuery plugin that eases the writing of accented or rare characters. 6.

AJAX Introduction # AJAX stands for Asynchronous Javascript and XML. It is used to allow frontend html/javascript communicate with the backend. For example, during a form submit, instead of using HTML forms to POST, AJAX can be used to do an asynchronous javascript POST to a backend script. For more information about AJAX, see Wikipedia - AJAX (Programming) AJAX in Liferay 6 # As of Liferay 6, there is AJAX support built into its current javascript library, Alloy UI. AJAX in Liferay 5 # In Liferay 5.1, the AJAX toolkit has been obsoleted. Liferay 4 used a Liferay-specific utility called AjaxUtil to allow users to easily write Ajax. The javascript AjaxUtil.update() invokes the URL to retrieve this HTML fragment, and replaces the contents of the HTML element specified in the second parameter with the returned HTML. For example, you have a portlet that has a div layer in it, we will call it library. <form> First Name: <input type="text" name="fn" /> Last Name: <input type="text" name="ln" /></form>

JavaScript JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions. While it is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB and Adobe Acrobat. JavaScript is a prototype-based, multi-paradigm, dynamic language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles. This section is dedicated to the JavaScript language itself, and not the parts that are specific to Web pages or other host environments. The standard for JavaScript is ECMAScript. Tutorials Learn how to program in JavaScript with guides and tutorials. For complete beginners Head over to our Learning Area JavaScript topic if you want to learn JavaScript but have no previous experience of JavaScript or programming. JavaScript first steps Answers some fundamental questions such as "what is JavaScript?" JavaScript building blocks JavaScript guide Closures

Blog | Well Caffeinated jBPM jBPM is a flexible Business Process Management (BPM) Suite. It makes the bridge between business analysts and developers. Traditional BPM engines have a focus that is limited to non-technical people only. jBPM has a dual focus: it offers process management features in a way that both business users and developers like it. What does jBPM do? A business process allows you to model your business goals by describing the steps that need to be executed to achieve that goal and the order, using a flow chart. This greatly improves the visibility and agility of your business logic, results in higher-level and domain-specific representations that can be understood by business users and is easier to monitor. The core of jBPM is a light-weight, extensible workflow engine written in pure Java that allows you to execute business processes using the latest BPMN 2.0 specification. jBPM is also not just an isolated process engine. Process languages jBPM6 What to do if I encounter problems or have questions?

IGN - API Geoportail Forum des développeurs Besoin d'une aide ? d'un conseil ? Des experts IGN interviennent sur ces forums en tant que modérateurs et / ou contributeurs pour répondre le plus précisément possible à vos questions. > Forum API Géoportail en partenariat avec le site developpez.com Ces forums ne se substituent pas à la documentation officielle de l'API Géoportail. Il est nécessaire de s'inscrire sur les forums pour pouvoir participer aux discussions, poser des questions et apporter des réponses. Quelques règles classiques sur le forum : Lire la documention Tester les exemples en ligne sur votre serveur Faire une recherche sur le forum Donner une URL de sa page de test qui pose un problème

Related: