You are here:   HomePHP (Hypertext Preprocessor)
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

In order to work with PHP, we must ensure that the prerequisites necessary for the implementation of programs. In the development context of web  applications, a web server with PHP is mandatory. The MAMP software (short for Macintosh, Apache, MySQL and PHP) will launch a local web server on a machine  running on the Mac OS X. It is a software for brand users with apple and which contains the following free components: Apache (server daemon), PHP5, MySQL  (DBMS, SQLite (DBMS), and PHPMyAdmin SQLiteManage (administration tools BDD).



 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

PHP has made a big step forward in object-oriented programming with version 5. Since this version, it allows to implement methods in predefined behavior by PHP. These methods are called "magic methods" __call () is one of them.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

In previous tutorials on working environments, we have shown that PHP is a dynamic scripting language interpreted and precompiled server side. It is now for us to achieve our first programs and run them on the web server (local or remote).

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

PHP integrates another concept of object-oriented programming: abstract classes. This course defines and introduces the concept of abstract classes. We will present what abstract classes, what they are used for development and how to declare and use them. Finally, we will study the particular case of final classes and methods involved in the security of the code object oriented programming.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

The vast majority of dynamic websites or applications need to reuse parts of identical code in several places of the same page, or in several different pages. This is the case for example libraries of user functions or configuration files. Rather than rewrite each time the code, there are functions (actually language constructs) that can import and execute the code reuse in the page. These are the include () and require ().

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

Object-oriented programming (OOP) was integrated into the PHP version 3 in 1998, including basic class and object supportIn 2000, PHP4 added some functionality, but suffered from its non-intuitive handling of references with objects handled like value types.

Finally, in 2004, PHP5 included an extensive rewrite of object handling with the introduction of Zend Engine 2, featuring a comprehensive feature set and increased performance.

But at that time, the PHP object model was far too brief. We could really talk about object oriented programming. PHP Developers are then examined the issue and improved the object model that, since version 5, has nothing to envy to other objects languages like Java or C++.



 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

The visibility of the properties and methods of an object is one of the basic features of object-oriented programming. This tutorial aims to introduce different levels of visibility offered by the object model PHP 5. We will review them one by one through practical examples and we will bring some good practices to adopt when used.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

This tutorial follows the one on conditional statements. The loops are a trivial principle of computing that any developer must master. They are, too, some of the control structures. PHP 4 into account, each with its specific characteristics: for (), while (), do-while () and foreach ().

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

PHP since version 5 implements magic methods you can implement in your classes, which will be automatically called by your script. Magic method __clone () is one of these methods. The following tutorial introduces the operation of the magic method __clone () based on simple and concrete examples.

 
by Dinesh Thakur Category: PHP (Hypertext Preprocessor)

A password is an extremely sensitive and given coveted by pirates, irrespective of the application that uses it. When the password becomes known to a third person, then the latter can for example take ownership of rights in an application and compromise its normal operation.

 

Page 2 of 4



Subscribe To Free Daily Newsletter!

Get Free News Updates Delivered Directly To Your Inbox
About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular Computer Notes blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to contact us.



What's New and Popular





Search Content







Advance Courses



Basic Courses



Advertise with Us