Author Archive

Tips & tricks: how to optimize a website for mobile devices

The huge development and usage of mobile devices makes us pay a close attention to this market of potential clients that will accede the website we’re creating with a far lower resolution respect to the standards (320 x480 tells you something?). In this article I’ll give you a few hints on how it’s possible to optimize the website or part of it, for a better usabilty on these mobile devices. In the following examples I’ll use iPhone as a reference.

|| Read more »

How to implement an online payment: First step (1/6)

How to implement an online payment: First step (1/6)

In this series of articles we will see how it is possible to implement online payments in your own website through a credit card. We will be relying obviously on a company specialized in on-line transactions and in our case...

17 comments

How to order the elements with jQuery (2/2)

How to order the elements with jQuery (2/2)

In the previous article we saw how the sortable method allows the sorting of a list of items through dragging. We just saw a "visual" implementation though. But if we want the sorting to be lasting, hence it remains the...

5 comments

Database structuring: the normalization

Database structuring: the normalization

In the previous article we treated the important concept of  the primary key. Today we are going to see in theory  what are the main measures  (which are called normal forms) to be implemented in the database to make them more...

4 comments

How to order the elements with jQuery (1/2)

How to order the elements with jQuery (1/2)

In this article we’ll treat the fascinating and always increasingly used the technique of the item ordering in an html document. The classical example could be the management of WordPress widgets. To activate a widget we have to drag it...

5 comments

Database structuring (1/3): The primary key

Database structuring (1/3): The primary key

We start today with a series of articles on database structuring. Throughout years of militancy in various support forums, I have realized that there are many users who are perfectly able to manipulate databases, even with very complex queries, but...

4 comments

PHP Tips – Warning: Cannot modify header information. Let’s get things straight

PHP Tips – Warning: Cannot modify header information. Let’s get things straight

Tell me the truth: you have had to mix it up with this error at least once, haven't you? In this pill we'll get things straight, once and for all, how this error occurs, how to avoid it and, if...

7 comments

Elements of cryptography: The asymmetrical cryptography

Elements of cryptography: The asymmetrical cryptography

In the previous article we saw how the symmetric cryptography occupied much of the history of this discipline. However in modern times it has become increasingly urgent the need to develop a system that goes beyond the single key to...

No comments

How and when to use jQuery’s serialize method?

How and when to use jQuery’s serialize method?

In various articles we have written on jQuery, it has always been evident how this framework contributes to the simplification of code development. In this article we will see how knowledge of all these instruments put at our disposal can...

9 comments

PHP tips & tricks – how to determine the operating system of the web server

PHP tips & tricks – how to determine the operating system of the web server

A question that I often hear is: How can I determine the operating system of the server? Many strange answers are given to this question, the most common one involves the application of improbable regular expressions to the variable $_SERVER[‘SERVER_SOFTWARE’]....

2 comments

PHP Tips – Manage correctly file inclusion

PHP Tips – Manage correctly file inclusion

In this article we’ll treat a quite simple argument but if badly managed can lead to big problems, the topic is the inclusion of files. According to my experience I established three golden rules that should be enough; if you...

8 comments

Elements of cryptography: The symmetrical cryptography

Elements of cryptography: The symmetrical cryptography

In the previous article we saw a particular case of the cryptographyapplication, that is hashing. We saw  how useful it is in coding passwords or to assure us the validity of a downloaded file. But this technique isn’t applicable when one...

5 comments

Elements of cryptography: Hashing algorithms

Elements of cryptography: Hashing algorithms

Don't be scared, keep reading! I decided to start the article in this way since reading on the same title words such as cryptography and hashing algorithms can be intimidating. My aim, in this series of articles dedicated to cryptography,...

2 comments

How to create chained select with PHP and jQuery?

select

In this article we'll talk about the chaining of  select also called   select cascade. It is a procedure  that we often find on the web and it consists in giving the user the possibility  to find a specific data through...

92 comments

Do you want to implement ajax features but you don’t know how?

Do you want to implement ajax features but you don’t know how?

Ajax is always more and more diffused and common in various websites, at times even when it's not necessary, but after all this happens somehow with everything.  If you are attracted by this technology but you don't know where to...

4 comments

How to build a dynamic and maintainable navigation

How to build a dynamic and maintainable navigation

In this article we will see how we can create a navigation that is able to highlight the current page in menu items like this example. As you can see, the style of the menu item applied to the page displayed is...

8 comments

The Obscure Art of Drag and Drop: How to Drag and Drop Objects?

The Obscure Art of Drag and Drop: How to Drag and Drop Objects?

Dragging and dropping objects in a web page is a totally fascinating property and surely impressive. Those who are familiar with WordPress administration panel know for example that in order to activate a widget enough dragging it on the sidebar...

4 comments

The mod_rewrite and the magic of rewriting the URL (second part)

The mod_rewrite and the magic of rewriting the URL (second part)

In the first part of this article we’ve seen two simple examples of  url rewrite. What we will do now is to insert the name of the product in the url. Why? Since the rewritten url will be the one...

2 comments

How to convert an XHTML layout in a Joomla template?

How to convert an XHTML layout in a Joomla template?

In this article we can be, starting from an existing layout, XHTML, create a template for Joomla in a few easy steps. We will use the layout corporate / business created by Sara and resumed later also by Justin in an article that explains how...

7 comments

The Author

Maurizio is married to the triad PHP - MySql - Apache and, not enough, he has a lover called jQuery. He has a blog where he tries to describe in detail all of "his lovers". His real specialty is the realization of large business application, altough he never refuses the commitment of a website.

Author's web site