As a web programming language, one of PHP’s strengths traditionally has been to make it easy to write scripts that access databases so that you can create dynamic web pages that incorporate database content. This is important when you want to provide visitors with information that is always up-to-date, without hand tweaking a lot of static HTML pages. However, although PHP is easy to use, it includes no general-purpose database access interface. Instead it has a number of specialized ones that take the form of separate sets of functions for each database system. There is one set for MySQL, another for InterBase, and another for PostgreSQL—and others as well.
Read the rest of this entry »
Online chat solutions have been very popular long before AJAX was born. There are numerous reasons for this popularity, and you’re probably familiar with them if you’ve ever used an Internet Relay Chat (IRC) client, or an Instant Messenger (IM) program, or a Java chat applet. AJAX has pushed online chat solutions forward by making it easy to implement features that are causing trouble or are harder to implement with other technologies. First of all, an AJAX chat application inherits all the typical AJAX benefits, such as integration with existing browser features, and (if written well) cross-platform compatibility.
Read the rest of this entry »
Businesses currently face the daily challenge of managing content efficiently. These businesses are being flooded with information from web Content Management Systems (CMS) that present an all-too-simple picture. Instead, content management systems should solve the problem of turning content into information and information into knowledge.
Content Management Systems are not just a product or a technology. CMS is defined as a generic term which refers to a wide range of processes that underpin the “next-generation” of medium to large-scale websites. Content management is a process which deals with the creation, storage, modification, retrieval and display of data or content.
Read the rest of this entry »
It isn’t correct to compare Java to PHP. Since PHP is a server-side scripting language whereas Java is a general-purpose language. In other words, PHP is only used as a server-side language where Java is both for server-side and desktop programming language. Moreover, Java is compiled and strongly-typed language. On other hand, PHP is a dynamic typed language. Hence, only for server-side programming, the comparison between Java and PHP makes sense.
Read the rest of this entry »
This article compares two styles of building data structures and data structure libraries in C++: (a) Intrusive data structures formed by pointers stored inside the application objects, (b) Containers where auxiliary objects form the required data structure, and only point to the application objects without adding any pointers or other data to them.
Read the rest of this entry »
In this paper we describe a Python- and Tkinter-based visual-programming environment called ViPEr. This tool enables non-programmers to build computational and visualization networks interactively. Computational nodes can be placed onto a canvas and their input and output ports can be connected using the mouse. The connections between the nodes define a directed graph that will be used to propagate data and trigger the execution of nodes that have new input data. ViPEr is, in appearance, similar to programs such as AVS [Upson et al. 89] from Advanced Visual Simulations Inc, or OpenDX [DX 93] from IBM, but presents some fundamental differences which will be pointed out throughout this paper. Several examples of applications will be used to illustrate ViPEr’s design and current range of capabilities.
Read the rest of this entry »
Although Python is a high-level language, it is not English or some other natural human language. The Python translator does not understand “add the numbers two and three”. Python is a formal language with its own specific rules and formats, which these tutorials will introduce gradually, at a pace intended for a beginner. These tutorials are also appropriate for beginners because they gradually introduce fundamental logical programming skills. Learning these skills will allow you to much more easily program in other languages besides Python. Some of the skills you will learn are
Read the rest of this entry »
PacketLogic has predefined user interfaces that are powerful and easy to use, such as the client and the Webstatistics. However, when the need arises to do something that is not defined in those interfaces, they are not possible for the end user to modify or customize. This is when using an API is very effective. Using the PacketLogic Python API provides access to virtually all the functionality available in the existing user interfaces, but with full possibilities to customize, integrate, and otherwise adapt the interface according to local and site-specific requirements. The PacketLogic Python API is implemented as a Python module, which means writing scripts to interface with a PacketLogic unit is a matter of:
1. Installing Python Python is available for free for all major operating systems.
2. Installing the API The API is available for free as a download from Procera Networks, on Windows and Linux operating systems.
3. Writing scripts
Read the rest of this entry »