JavaScript - Closure - Three examples for the price of one

It is possible to pass arguments on a parent function to add these arguments on the nested one.
Can you believe this?
One calls this a closure.

Let's start with an easy example without any closure:

JavaScript - Window Object - The alert() method

In this JavaScript tutorial we will see that the behaviour of the JavaScript alert() method is sometimes not that we can hope.

First of all, let's create a new directory named js and add the myAlert.js script inside:

Symfony 1 - Helper - UrlHelper

Symfony UrlHelpers add some features to the URL management.

In this Symfony UrlHelpers tutorial, we will see how to use them with some examples.

Let's start with the link_to UrlHelper:

Symfony 1 - Routing - Creating a URL with dashes (manually)

A great way to display URLs is to using dashes.

Indeed, it is always better for an human being to see a reading URL instead of a succession of symbols.

That is what we will see in this Symfony 1 tutorial about routing.

Let's take an example.
We want to create a module that represents a tutorial for beginners.

Symfony 1 - Security - Authentication

Symfony 1 uses the YAML files to secure the application.

For example, in this tutorial, we can see with the backend side how to secure the entire application.
But we can also secure only the index of a module or all others webpages excepted the index.
This, with an authenfication.

PHP 5 - PEAR - Installation

In this tutorial, we will see how to install PEAR with PHP 5 on Windows 7.

We, of course, assume that you already installed PHP.

For example, the PHP path installation is:

C:\Program Files (x86)\PHP\php-5

Inside there is a file named:

go-pear.bat

Double click it.

Symfony 1 - Test Unit - With Doctrine and a database

In this test unit tutorial of the Symfony 1 framework, we will take examples to show how it works with Doctrine and a database.

First of all, you have to set up a database to test and create some fixtures.
If you have not done it yet, take a look at this tutorial:

Symfony2 - Release 2.0

Fabien Potencier and his team launched the first release of Symfony2 Thursday, July 28th 2011.

You can see more details on the official blog: http://symfony.com/blog/symfony-2-0

 

JAVA SE 7 - Available now ready to download

Today JAVA SE 7 is officially released.

You can download it on the JAVA website:
http://www.oracle.com/technetwork/java/javase/downloads/index.html

PHP 5 - Installation - On Windows

I made a tutorial with examples for the installation of Apache HTTP, PHP, MySQL, phpMyAdmin and some virtual host explanations, for Windows.

You can find this tutorial by following this link:

Pages

Subscribe to BadproG.com RSS