Simple JavaScript OOP Programming

JavaScript has a unique style for Object-Oriented Programming. The style is closer to the syntax of a functional language than a procedural language. The syntax is not difficult to learn, but it behaves completely unlike what you expect from a compiled language like Java or C++. Central to JavaScript OOP is the way that new functions may be attached to existing objects. Here are a few simple example of how a JavaScript object can be instantiated and manipulated. [More…]

A Simple JavaScript AJAX Example

AJAX (Asynchronous JavaScript and XML) uses a combination of JavaScript, XHTML/XML, and DHTML techniques to create dynamic web pages that can update without reloading. The technique is based on the use of the JavaScript XMLHttpRequest() function to perform GET and POST operations with a server script, with additional client side DHTML code to modify the requested page elements. [More…]

XHTML Is Easier Than You May Think

If you have been creating HTML 4.1 and CSS web pages for some time you’ve probably noticed that an increasing number of web pages now use XHTML formatting. There are several reasons why XHTML is a better choice for web pages. If you have put off learning to use XHTML, here is a straightforward introduction that may help change your mind. [More…]

Perl OOP Programming - Part 1

Object-Oriented Programming (OOP) in Perl is a like riding on the back of a strange imaginary beast. You eventually arrive at the destination, but explaining to someone how you got there takes some creative doing. In Part 1 of this article we look at how Perl can be used to create code that mimics Object-Oriented Programming. If we squint hard, we might even fool ourselves into thinking we’re really doing OOP, as long as we don’t look closely. So grab onto your saddle…here we go! [More…]

Best C++ Programming Books

Learning to program C++ is not what I would call a simple task. Finding books that present the information at your level of comprehension is important. Beginners need a simple step-by-step presentation that an experienced programmer is likely to find boring. The collection of book listed below is oriented towards individuals with some existing experience and programming knowledge. The texts are considered to be among the best available, and will move you through the intermediate stages and into the advanced. [More…]