Java:The Pitfalls of Inheritance Part-2
Listing 3 A Simple inheritance model Following this example, we would do the following to create an instance of the Car object: //create a new instance of the …
Continue readingListing 3 A Simple inheritance model Following this example, we would do the following to create an instance of the Car object: //create a new instance of the …
Continue reading
Session-Handling Functions Session handling is a way of holding on to data as a user navigates your Web Site. Data can be variables or entire objects. …
Continue readingIn Object Oriented Programming, inheritance is a commonly used mechanism to model the relationship between two types. However, modelling such relationship …
Continue reading
Regular Expression Functions ereg_replace() and eregi_replace() The ereg_replace() and eregi_replace() functions replace instances of a pattern within a string …
Continue readingDatabases Why not store parameters in a database? If your application is already using a database, you might consider defining a special table for this purpose. …
Continue reading
Program Execution Functions You can use PHP’s built in program execution functions to use programs residing on your system, such as encryption programs, …
Continue readingAlternatives to the command line Giving parameters on the command line is not always the best way to enter properties for your program. A typical situation …
Continue readingIntroduction Every programmer will encounter a situation where a choice must be made between various alternative solutions. Should tabular data be sorted in one …
Continue readingLists You will recall that in the SELECT widget in HTML programming, you could select how many choices were visible at any one time using the SIZE attribute. …
Continue reading
Misc. Functions The die() and exit functions provide useful control over the execution of your script, offereing an ‘escape route’ for programming errors. die() …
Continue readingStatic Text with Label The Label class gives you the ability to draw a single line of text in your application. There is not much to it, consider the following …
Continue reading
Here are yet more Built-in Functions, Mail Function If your server has access to sendmail or an SNMP gateway the mail() function sends mail to a specified …
Continue reading