-
-
8:00
»
Open Source Web Development Tutorials - RSS Feeds
In this four-part article series, you'll learn about the model-view-controller (MVC) design architecture, why its use is a best practice when building web applications, and how using the Zend framework for PHP lets you make the most of this architecture. This article is excerpted from chapter 25 of the book Beginning PHP and Oracle: From Novice to Professional, written by W. Jason Gilmore and Bob Bryla (Apress; ISBN: 1590597702).
- Even at this likely early stage of your Web development career, chances are you're already attempting to sketch out the features of a long-desired custom application. An e-commerce store perhaps? An online community forum devoted to stamp collecting? Or maybe something a tad less interesting but non...
-
-
8:00
»
Open Source Web Development Tutorials - RSS Feeds
Welcome to the conclusion of a five-part series on the Composite View design pattern. This article will focus on a way to make use of this design pattern when you're building dynamic web pages. It involves a simple two-step rendering process.
- As you probably know, one of the great commandments of good object-oriented programming says that whenever possible, Composition must be used over Inheritance, as the latter is an overrated way of reusing code. While its fair to admit that this principle should be used with due caution and, for obvi...
-
-
8:00
»
Open Source Web Development Tutorials - RSS Feeds
This is part two of a series on Joomla web development in Ubuntu. In the first part, you learned the basic but very important website development skills in Joomla. In this part, you'll learn how to work with templates and other aspects of creating a customized Joomla-based website.
- Just to refresh your memory, the skills covered in the first part included the following: Changing your password in phpMyAdmin (in case you forget your administrator password). Changing the default and uploading Joomla templates. Working with and activating new Joomla templates. Working wi...
-
-
8:00
»
Open Source Web Development Tutorials - RSS Feeds
In this fourth part of a series, I demonstrate how to use all the composite view classes defined previously for generating a simple yet dynamic web page using a single rendering method. This example shows the real functionality of the Composite View pattern when it comes to rendering individual web page sections (partials) by using uncluttered, easy-to-follow client code.
- Sharing nearly the same logic as its counterpart Composite (at least at a basic level), Composite View is a clever design pattern that takes full advantage of the functionality provided by Composition to manipulate single and multiple elements of a user interface through the same set of methods. W...
-
-
8:00
»
Open Source Web Development Tutorials - RSS Feeds
In this conclusion to a three-part series on secure PHP programming, you'll learn how to validate inputs, handle hashing, use the MCrypt package, and more. This article is excerpted from chapter 21 of the book Beginning PHP and Oracle: From Novice to Professional, written by W. Jason Gilmore and Bob Bryla (Apress; ISBN: 1590597702).
- Converting Input into HTML Entities The htmlentities() function converts certain characters that have special meaning in an HTML context to strings that a browser can render as provided rather than execute them as HTML. Its prototype follows: string htmlentities(string input [, int quote_style [,...
-
-
8:00
»
Open Source Web Development Tutorials - RSS Feeds
This is the first part of a beginner web development tutorial series for Joomla as the content management system used in a website. This tutorial is mainly written for Ubuntu-based developers with an XAMPP installation in a Linux environment. Keep reading to learn how to customize your Joomla website layout.
- If you're planning to work and develop customized Joomla websites in Ubuntu and do not have a local web server installed (LAMP configuration: Linux Apache MySQL and PHP), you can read another tutorial on this site to learn to install XAMPP in Ubuntu. If you have a fully working XAMPP insta...
-
-
8:00
»
Open Source Web Development Tutorials - RSS Feeds
In this third part of a series on the Composite View pattern, I develop a concrete class derived from the abstract parent built previously. This new class will be responsible for creating simple view objects.
- The tandem composed of the Composite and Decorator design patterns offers an example that shows where the use of Composition can help in building flexible applications. While decorators are normally used for extending the functionality of objects that are of the same type without having to appeal...
-
-
8:00
»
Open Source Web Development Tutorials - RSS Feeds
In this second part of a series, I demonstrate how to create a concrete composite view class, capable of rendering single and multiple view templates via the same render() method. The definition of this brand new class not only shows the logic that drives the Composite View pattern, but reveals how the pattern takes advantage of the benefits offered by Composition.
- As its name suggests, the Composite View design pattern is a subtle variation of the standard Composite, which permits you to manipulate indiscriminately a single view object and a collection of them through the same interface. As with many other popular patterns, the implementation of Composite V...
-
-
8:00
»
Open Source Web Development Tutorials - RSS Feeds
In this second part of a three-part series on secure PHP programming, you'll learn how to hide the fact that you're using PHP to drive your site, how to hide sensitive data, and more. This article is excerpted from chapter 21 of the book Beginning PHP and Oracle: From Novice to Professional, written by W. Jason Gilmore and Bob Bryla (Apress; ISBN: 1590597702).
- Hiding PHP You can also hide, or at least obscure, the fact that youre using PHP to drive your site. Use the expose_php directive to prevent PHP version details from being appended to your Web server signature. Block access to phpinfo() to prevent attackers from learning your software version numbe...
-
-
8:00
»
Open Source Web Development Tutorials - RSS Feeds
The Yahoo Site Explorer Inbound Links API comes in handy for a variety of purposes. You can get all sorts of data from it using PHP, from counting your backlinks to analyzing where they're coming from. This article will show you how to build a backlink checker tool that can do this and more.
- This is the continuation of a series on the Yahoo Site Explorer Links API tutorial in PHP. It is suggested that you will read and understand the following tutorials if you are new to Yahoo Links API: Using the Yahoo Site Explorer Inbound Links API Getting Data from Yahoo Site Explorer Inbound ...