Formation Agile
84.2K views | +0 today
Formation Agile
Ressources pour une formation agile ! Pour coachs agiles et formateurs d'adultes.
Curated by Mickael Ruau
Your new post is loading...
Your new post is loading...

Popular Tags

Scooped by Mickael Ruau
May 27, 2013 11:14 AM
Scoop.it!

Creating a Banking Application Admin Panel using Object Oriented Programming | WebReference

Creating a Banking Application Admin Panel using Object Oriented Programming | WebReference | Formation Agile | Scoop.it
This article focuses on the administration side of our banking application, covering the creation of the admin scripts and discussing how proper administration can improve performance.
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 11:14 AM
Scoop.it!

Core Web Application Development with PHP and MySQL: Part 2 | WebReference

Core Web Application Development with PHP and MySQL: Part 2 | WebReference | Formation Agile | Scoop.it
Core Web Application Development with PHP and MySQL: Part 1, authored by Marc Wandschneider.
Mickael Ruau's insight:

Explication sur le pourquoi du MVC :

 

As authors of web application software, the initial temptation for us might be to put all of the code for the web application in one place—writing scripts that queried the database for information, printed the results for the user, and then did some credit card processing or other things.

While this does have the advantage of being reasonably quick to code, the drawbacks become quickly apparent:

The code becomes difficult to maintain when we try to change and upgrade the functionality. Instead of finding clear and well-known places for particular pieces of functionality, we have to go through various files to find what needs to be changed.The possibilities for code reuse are reduced. For example, there is no clear place where user management takes place; if we wanted to add a new page to do user account maintenance, we would end up duplicating a lot of existing code.If we wanted to completely change the way our databases were laid out and move to a new model or schema, we would have to touch all of our files and make large numbers of potentially destabilizing changes.Our monolithic program becomes very difficult to analyze in terms of performance and scalability. If one operation in the application is taking an unusually long time, it is challenging (if not impossible) to pinpoint what part of our system is causing this problem.With all of our functionality in one place, we have limited options for scaling the web application to multiple systems and splitting the various pieces of functionality into different modules.With one big pile of code, it is also difficult to analyze its behavior with regards to security. Analyzing the code and identifying potential weak points or tracking down known security problems ends up becoming harder than it needs to be.

Thus, we will choose to use a multi-tired approach for the server portion of our web application, where we split key pieces of functionality into isolatable units. We will use a common "3-tiered" approach, which you can see in Figure 13-4.

Figure 13-4: Dividing our applications logically into multiple tiers.

This architecture provides us with a good balance between modularization of our code for all of the reasons listed previously but does not prove to be so overly modularized that it becomes a problem. (See the later section titled "n-Tier Architectures.")

Please note that even though these different modules or tiers are logically separate, they do not have to reside on different computers or different processes within a given computer.

No comment yet.
Scooped by Mickael Ruau
May 27, 2013 11:11 AM
Scoop.it!

Globalize your Web Applications: PHP's Locale Package | WebReference

Globalize your Web Applications: PHP's Locale Package | WebReference | Formation Agile | Scoop.it
In the modern globalized economy, it behooves us to think of other nationalities when we develop our websites and applications.
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 11:10 AM
Scoop.it!

Globalize your Web Applications: PHP's Locale Formatting Classes | WebReference

Globalize your Web Applications: PHP's Locale Formatting Classes | WebReference | Formation Agile | Scoop.it
In part 3 of the Globalize your Web Applications series, we'll be exploring PHP's I18N_Number and I18N_Currency classes, both of which are part of the I18N Libraries.
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 11:05 AM
Scoop.it!

How to Create a Search Feature with PHP and MySQL | WebReference

How to Create a Search Feature with PHP and MySQL | WebReference | Formation Agile | Scoop.it
In this tutorial you'll learn how to create a searchable form feature that will query a database table and display current staff member information.
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 11:01 AM
Scoop.it!

How to Avoid Common SSL Usage Mistakes | WebReference

How to Avoid Common SSL Usage Mistakes | WebReference | Formation Agile | Scoop.it
Here are some of the common SSL usage mistakes made by beginners and experts alike and explains the simple remedies to each one.
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 10:55 AM
Scoop.it!

Global Variables Are Evil | NCZOnline

Global Variables Are Evil | NCZOnline | Formation Agile | Scoop.it
I have been known to tell people in an enterprise environment to avoid global functions and variables in JavaScript at all costs. My reasons are purely from a
Mickael Ruau's insight:

I have been known to tell people in an enterprise environment to avoid global functions and variables in JavaScript at all costs. My reasons are purely from a maintenance point of view: it’s easier to document variables attached to classes or namespaces and it’s easier to debug (because you know where to find the variable/function in question). Turns out that Douglas Crockford agrees with me in his latest post, Global Domination.

No comment yet.
Scooped by Mickael Ruau
May 27, 2013 10:49 AM
Scoop.it!

Use Null Comparisons Sparingly | NCZOnline

Use Null Comparisons Sparingly | NCZOnline | Formation Agile | Scoop.it
Comparing values against null is a very popular thing to do in JavaScript, but I fear that typically it's overused and used in situations when it's completely
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 10:45 AM
Scoop.it!

The case against Hungarian notation in JavaScript | NCZOnline

The case against Hungarian notation in JavaScript | NCZOnline | Formation Agile | Scoop.it
For years, I've used Hungarian Notation when programming in JavaScript. Both of my books use Hungarian notation for all code examples and recommend that others
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 10:39 AM
Scoop.it!

JavaScript function properties

In JavaScript function are first class objects that can have properties. This presents possibilities not possible in class object oriented languages.
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 10:38 AM
Scoop.it!

A re-introduction to JavaScript (JS Tutorial)

A re-introduction to JavaScript (JS Tutorial) | Formation Agile | Scoop.it
Why a re-introduction? Because JavaScript has a reasonable claim to being the world's most misunderstood programming language. While often derided as a toy, beneath its deceptive simplicity lie some powerful language features.
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 10:36 AM
Scoop.it!

Close on Closures

Close on Closures | Formation Agile | Scoop.it

When discussing the prototype object, it’s necessary to consider JavaScript closures. The prototype is used to extend the definition of an object, regardless of what other scope is in effect. The prototype is available as a characteristic of the type, regardless of whether you even have an instance of the object. The prototype is independent from the state during which it was created.

Closures, on the other hand, are used to leverage the scope in play at the time the closure is created.

No comment yet.
Scooped by Mickael Ruau
May 27, 2013 10:34 AM
Scoop.it!

Closures considered harmful | NCZOnline

Closures considered harmful | NCZOnline | Formation Agile | Scoop.it
Before you start throwing things this way, hear me out. A few years ago, no one ever talked about closures in JavaScript. They were a footnote to JavaScript,
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 11:14 AM
Scoop.it!

User Personalization with PHP: User Login Personalization::Authentication | WebReference

Part 3 of User Personalization with PHP: Beginning the Application discusses securing the login page, to make it as difficult as possible for attackers to break the application.
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 11:12 AM
Scoop.it!

Core Web Application Development with PHP and MySQL: Part 1 | WebReference

Core Web Application Development with PHP and MySQL: Part 1 | WebReference | Formation Agile | Scoop.it
Core Web Application Development with PHP and MySQL: Part 1, authored by Marc Wandschneider.
Mickael Ruau's insight:

The format of both the HTTP request and response is very simple. Both share the following plain text format:

Initial request/response line
Optional Header: value
[Other optional headers and values]
[blank line, consisting of CR/LF]
Optional Body that comes after the single blank line.

No comment yet.
Scooped by Mickael Ruau
May 27, 2013 11:11 AM
Scoop.it!

Globalize your Web Applications: Working with Dates in PHP | WebReference

Globalize your Web Applications: Working with Dates in PHP | WebReference | Formation Agile | Scoop.it
Using language-specific locale features allows your applications to support many different locales, regardless of the settings on the computer, which runs the application.
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 11:10 AM
Scoop.it!

Create a Localized Web Page with PHP | WebReference

Create a Localized Web Page with PHP | WebReference | Formation Agile | Scoop.it
Learn how to create an HTML page that uses PHP to let a user choose a language and then displays the text accordingly.
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 11:02 AM
Scoop.it!

Using the DOCTYPE Tag | WebReference

Using the DOCTYPE Tag | WebReference | Formation Agile | Scoop.it
Having trouble with your Web pages? Can't get them to display correctly in your browser? It might be that your page is a little 'quirky;.
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 11:00 AM
Scoop.it!

WebReference.com - Creating a Cross-Browser (DOM) Expandable Tree (1/5) | WebReference

WebReference.com - Creating a Cross-Browser (DOM) Expandable Tree (1/5) | WebReference | Formation Agile | Scoop.it
Guest author Nicholas C. Zakas teaches you how to create a DOM compatible, cross-browser expandable tree navigation system (1/5).
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 10:50 AM
Scoop.it!

Fun With Null And Undefined | NCZOnline

Fun With Null And Undefined | NCZOnline | Formation Agile | Scoop.it
I've been using the great JavaScriptLint tool recently to go over my code. One of the errors that it typically flags is comparison with null, 0, or an empty
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 10:49 AM
Scoop.it!

Visual Studio Express Rocks! | NCZOnline

Visual Studio Express Rocks! | NCZOnline | Formation Agile | Scoop.it
A little while back, I blogged about Microsoft's big steps forward recently, one of which being the release of Visual Studio Express, a scaled-down version of
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 10:43 AM
Scoop.it!

Debunking object() | NCZOnline

Debunking object() | NCZOnline | Formation Agile | Scoop.it
One of Crockford's latest creations is the object() function, which he puts forth as a better way of doing prototypical inheritance in JavaScript. The function
Mickael Ruau's insight:

Crockford’s object() function is really nothing more than a function that clones another object. However, the technique can be used to ease prototypical inheritance in JavaScript as illustrated above.

No comment yet.
Scooped by Mickael Ruau
May 27, 2013 10:39 AM
Scoop.it!

JavaScript function memoization

JavaScript memoization optimizes function execution by avoiding repeating calculations. One way this can be done if by caching results on the function itself.
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 10:38 AM
Scoop.it!

Script Junkie | Use Cases for JavaScript Closures

Script Junkie | Use Cases for JavaScript Closures | Formation Agile | Scoop.it
No comment yet.
Scooped by Mickael Ruau
May 27, 2013 10:35 AM
Scoop.it!

Javascript Closures

Closures are one of the most powerful features of ECMAScript (javascript) but they cannot be property exploited without understanding them. They are, however, relatively easy to create, even accidentally, and their creation has potentially harmful consequences, particularly in some relatively common web browser environments. To avoid accidentally encountering the drawbacks and to take advantage of the benefits they offer it is necessary to understand their mechanism. This depends heavily on the role of scope chains in identifier resolution and so on the resolution of property names on objects.

The simple explanation of a Closure is that ECMAScript allows inner functions; function definitions and function expressions that are inside the function bodes of other functions. And that those inner functions are allowed access to all of the local variables, parameters and declared inner functions within their outer function(s). A closure is formed when one of those inner functions is made accessible outside of the function in which it was contained, so that it may be executed after the outer function has returned. At which point it still has access to the local variables, parameters and inner function declarations of its outer function. Those local variables, parameter and function declarations (initially) have the values that they had when the outer function returned and may be interacted with by the inner function.

Unfortunately, properly understanding closures requires an understanding of the mechanism behind them, and quite a bit of technical detail. While some of the ECMA 262 specified algorithms have been brushed over in the early part of the following explanation, much cannot be omitted or easily simplified. Individuals familiar with object property name resolution may skip that section but only people already familiar with closures can afford to skip the following sections, and they can stop reading now and get back to exploiting them.

 
No comment yet.