Topics Search

How to create a gallery class

How to create a gallery class
Views: 246
In this tutorial, we will create a gallery class, and also a template class that will work together with the gallery class.
Sponsored Links:

More topics

 

How to Create an Infinite Scrolling Web Gallery

Preview
When working my way through a web gallery, I find it annoying when I must change pages; so in todays tutorial, we will learn how to create an auto generating, one page, infinite scrolling gallery with PHP and AJAX.
 

Part 3 What Are Class Constructors?

Preview
So just what are class constructors, and how can they be used within PHP classes/OOP programming? When a PHP class is first called, the class will automatically run the class constructor function, which can help automatically configure the class. This can be useful if you need to preset some instance variables, sessions or cookies prior to using the class methods.
 

Create an image gallery with AMFPHP

Preview
An advanced image gallery using flash remoting AMFPHP and GD library.
 

How to create and use singleton classes.

Preview
In this tutorial we'll learn how to create and use singleton classes. A singleton class is a class that can be instantiated only once. This is may be useful when only one object of certain class is needed to coordinate across your system. While it may not come up frequently, it can be a useful technique when it simply doesn't make sense to have more than one instance of a class.
 

Create an intelligent XML image Gallery and Slideshow

Preview
In this article you will learn how to create an intelligent XML image Gallery & Slideshow in Flash CS4 (+PHP)
 

Class Abstraction Tutorial

Preview
Class abstraction is a way for a class to force any other class that extends it to implement specific methods. The parent class is called an abstract class, the child class we will call a concrete class, and the methods a concrete class must implement are called abstract methods. For our purposes, abstract is a generalized concept and concrete is a specific implementation of the abstract...
 

How to Create a Photo Gallery using the Flickr API

Preview
Flickr is, without doubt, the biggest and best photography website on the internet. There are lots of widgets, badges and plugins which allow you to display your latest Flickr photos on your website, but we'll take it a step further by tapping straight into Flickr and integrating your photostream into your website, giving you a photo gallery that is a breeze to update.
 

An Expandable Form Validation Class: Part 2

Preview
In Part 1 of this tutorial, we covered the basics of our Form Validation Class. We explained how the core of the Class depends on regular expressions and gave an insight regarding the keyword concept. We also explained how each keyword will have a corresponding Class Method so that we can easily extend the Class in the future to suit our needs. In Part 2, we will get our hands dirty in creating the remaining useful Class Methods that will instruct the Class which form fields to validate and how to validate them.
 

An Expandable Form Validation Class: Part 1

Preview
Learn how to create an expandable Form Validation Class, that once complete, you will able to use in any of your PHP scripts. The beauty of this Class is that it is expandable with ease. This means that once the base code of the Class is complete, you can easily configure it to validate different types of form data with virtually no changes. The extra configurations will only be limited to your programming knowledge.
 

Create your own web service for an iOS app

Preview
In this iOS 6/7 tutorial we'll use a helper class called SantiappsHelper, which contains the code to run these connections to the web. A standalone class in such cases is usually called a library, which takes care of those processes. If you only require one instance of such a class (like in our case), you create a Singleton pattern. You only want one instance of the connection, because you don't want many instances of the connection class creating, receiving, and disconnecting -- that could end up in multiple connections to the same resource at different times, which could confuse you or the server.