Hello World in Perl

This is how you would display “Hello World” in Perl. It’s quite similar to Bash, but note the differences carefully!

Create a text file called hello_world.pl containing the following code:

Navigate to a directory where your hello_world.pl is located and make the file executable:
Now you are ready to execute your first perl script:

Hello World in Bash

This is how you would display “Hello World” in Bash.

Create a text file called hello_world.sh containing the following code:

Navigate to a directory where your hello_world.sh is located and make the file executable:
Now you are ready to execute your first bash script:

Hello World in Javascript

This is how you would display “Hello World” to the browser in Javascript.

 

Top 5 Databases for Web Developers

When listening to developers talk about databases you will usually hear buzz words like robust, scalable, efficient, etc. Discussions will focus on the power of the DBMS (Database Management System) and how it integrates with other technologies. In our case, however, we don’t really care about most of those things. Instead we are going to be looking at the cost of getting started, tools, the user interface and availability of help, especially help for the beginner.

In the following list we’ll talk briefly about each DBMS, give you some pros and cons, and show you how to download and get started with each of them.

Continue reading

Modelling for Distributed Network Systems

The attached sample chapter from Distributed Network Systems: From Concepts to Implementations (Jia, W. and Zhou, W.,2005) is designed to introduce the client-server model and its role in the development of distributed network systems.

The chapter discusses the cooperation between clients and servers/group servers in distributed network systems, and addresses extensions to the client-server model. Service discovery, which is of crucial importance for achieving transparency in distributed network systems, is also elaborated in this chapter.

Custom Excerpt Length in WordPress

Define how many words to return when using the_excerpt();.

 

Post Thumbnails in WordPress RSS Feed

Include the post thumbnail in your RSS feed.