|
|
|
|
|
|
|
Google Gives Buckyball a Tribute Doodle in HTML5
Google dedicates a very cool tribute doodle to Buckminster Fuller's Buckyball. Developers, take note...it's all HTML 5.<br/> - Google makes an art form out of holidays by changing their logo to suit the mood. Almost one-upping their Pac-Man anniversary logo, they have created a Buckyball in full animation using only DHTML and, more specifically, HTML 5.
Google's doodles are always a hit, and the Pac-Man Doodle was certain...
MVC and the Zend Framework
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).<br/> - 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...
PHP: Rendering Web Pages Using the Composite View Design Pattern
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.<br/> - 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...
Joomla Layouts: Customizing Your Website
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.<br/> - 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...
PHP: Creating Dynamic Web Pages with the Composite View Design Pattern
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.<br/> - 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...
Secure Encrypting and Decrypting for Your PHP Website
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).<br/> - 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 [,...
Joomla Website Layout Customization
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.<br/> - 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...
PHP: Creating Single View Objects with the Composite View Design Pattern
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.<br/> - 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...
PHP: View Object Collections and the Composite View Design
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.<br/> - 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...
Securing Your PHP Website
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).<br/> - 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...
Determine Link Relevance and Unique Class C IP using Yahoo Links API
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.<br/> - 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 ...
PHP Composite View Design Pattern: Introducing the Key Concepts
The Composite View design pattern offers users the versatility of handling single objects and collections through the same interface. But some programmers hesitate to use it due to its tricky implementation. Hesitate no longer; this multi-part series will take you step by step through some of the best ways to use the Composite View design pattern, complete with code samples to show you the way.<br/> - Regardless of their specific implementation, which may vary from a programming language to another (and even across different applications), one additional advantage that design patterns offer is that their names give you a pretty clear idea of what they can be used for. Good examples of this can ...
Facebook PHP API Applications: A Second Look
This is the second part of the Facebook PHP API tutorial. The first part ran on August 11. It covered the most basic features, such as adding the basic Facebook Like button, the Recommendations plugin and registering your applications in Facebook to get an Application ID and Secret key. In this part, we'll delve deeper.<br/> - Specifically, we'll go into the details of basic PHP scripting for communicating with the API. After reading this tutorial, you can be confident of how to establish basic communication with the Facebook API, retrieve basic user information and then display that information on your website.
The Ra...
Secure PHP Programming
Long before a website goes live, you need to take its online security into consideration -- to be ready for the attackers even before they might gain access. This three-part article series will warn you of what to watch out for, particularly when configuring PHP, and help you to secure your website. It 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).<br/> - Any Web site can be thought of as a castle under constant attack by a sea of barbarians. And as the history of both conventional and information warfare shows, often the attackers victory isnt entirely dependent upon their degree of skill or cunning, but rather on an oversight by the defenders. As k...
Facebook PHP API Applications: Basic Introduction
If you are a PHP developer interested in learning the PHP API applications of Facebook, then this tutorial can help you get started. Keep reading and you'll soon know not only how to add Facebook features to your website, but how to develop your own Facebook applications.<br/> - Facebook API applications can be categorized into three broad features that can be implemented using an API in the PHP programming language.
Integrating Facebook features, widgets and applications in your website (such as allowing your website users to log in using their Facebook account). In ge...
|
|
|
|
|
|
|