My home on the web - featuring my real-life persona!

How do you compare client-side and server-side programming? Discuss their advantages and disadvantages.

In general, client-side means that the code is executed on the client computer while server-side means that the code is executed on the web server. A client-side program uses functions of the browser and possibly the operating system (which may pose security issues) while server-side programs use the functionality of the web server they are running on.

Client-side scripts are often part of or referenced by an HTML page. The user’s browser is responsible for processing and executing the code while or after loading the web page on the client computer. The most commonly used client-side script language is JavaScript, which is a rather simple programming language that is easy to incorporate into HTML code.

In server-side scripting, the browser requests a page from the web server, and the server creates the page content “on demand”. Most times, the client does not see or receive the actual program code but just a web page that looks like plain HTML. BlackBoard is a good example. The currently open page is a Java Server Page (EDIT: since this is on Wordpress here, it is of course a PHP page) and it has been dynamically created when you clicked on this topic. The content you see is depending on who views it and when it is viewed. The next time you click on it, it will be different. It may just not be marked as a “new post” anymore, someone else may have replied or I may have edited my post.

Both have their advantages and disadvantages. Client-side scripts are good if a programmer does not have full access to the web server. I remember a long time back I had some free web space (Xoom or so) and I was trying to create an email form. I didn’t have full access but was only allowed to use some scripts that were included - what a pain. The successful implementation of client-side scripts also depends a lot on the browser. Even though most browsers display plain old HTML pages in a similar way, there can be a huge difference in the way code is executed. In addition, we have the different operating systems, the OS settings and the browser and there are a lot of possible combinations that may cause unexpected results.

Server-side scripting is independent of the browser and OS (though slight changes in layout can always happen), and it is easier to predict what the user will see. It does require more from the web server though. Not only do you need certain programs and functions on the server, you also have to consider the server load. If you have a lot of simultaneous users accessing a server-side script, the server has to be able to process all those requests. Server-side scripting is also more secure, since the program code is not transmitted to the user but only the result.

CAN YOU SEE THIS?

Sorry for all this, but this is the real test. If you got this post in your feed, can you please post a comment?

I have selected the category and this should neither be on the main page nor in a feed.

New semester and how to hide posts in Wordpress

As I mentioned below, I am not too busy right now but luckily my class has started, and I am really excited. In case I haven’t mentioned it, I am going to Davenport University part time for a BS in Computer Science. Davenport offers a couple of different specializations in the CS area, and I chose Web Development. With a little luck (well, it’s more about being able to pay for classes), I will graduate in April 2010.

Currently, I am taking CISP238 (Server Side Scripting I) and I am really interested to learn more about this. I have dabbled a little bit with Javascript, PHP and Perl, but never enough to really be able to code.

I assume by now, half of my translator colleagues fell asleep but I really want to write a little bit about school stuff here but straying to far off-topic and boring the non-geeks. Searching around, I found out that you can set up Wordpress so that certain categories don’t show up on the main page. The topic exists, you can select the category and see it, it just won’t get into your main page or in your feed. I really like that and I think it may be of interest for other people too. I got the instructions from Jangro 2.0. I had a hard time finding the category ID but it is explained on the Wordpress Support Forum.

Now, I just created a category called Davenport University and selected that to be hidden from main page and feed. I did a quick test and that actually worked, you may still see the first test topic since I created it first and then added the code to hide the category.

Happy New Year!

There we go, 2009 is here and I am back to the grind since yesterday. I guess just like many freelancers, I am have a bit of a post-holiday/new year lull. I just got 64 words from my boss for FIGS, yeah! 2 Minutes later…all done (incl. outsourcing). And what now?

Is this an advantage of being an in-house translator? Yes and no. Of course it is nice to get paid even if you don’t have any real work just that day, but to be honest - sitting at your desk trying to look busy is not fun. Luckily, if I pre-write a blog post in Word, it isn’t really that obvious. I do know we have a couple of big things right around the corner, that will keep me quite busy for a while, so I don’t feel too guilty to take a little more time to come out of Christmas hibernation.