Archive for July, 2008

PHP Login System

In most web applications there will be some restricted content – whether that is administrative functions such as managing comments or simply content that is a bit sensitive and needs someone to be signed up to see it. Obviously this kind of thing is key to the application so it is often built into the application in a very specific way.
Here’s why I think that’s a bad thing, and how to do it in a much more generic fashion…

Read the rest of this entry »

PHP Optimization Tips

This tutorial will explain many small techniques which will, hopefully, help optimize your php scripts. I considered myself a bit of a PHP pro until I started researching some of this stuff and realized that there is a whole realm of information out there about optimizing php that I didn’t know about. I hope you will be as surprised as I was about some of the things you might learn from this article.

Read the rest of this entry »

News and Updates

Well I hope you are all enjoying the new Progtuts website. We have had some nice tutorials published in the last 2 weeks and we are looking forward to many more.

I’d like to introduce our new writer Jamie. Jamie will be helping me write tutorials for Progtuts on a regular basis so that you guys get more quality tutorials. Why not have a look at Jamie’s first post that was published yesterday: Model View Controller with Java. Remember though we are always looking for new writers and contributers.

As for other news there are a few things on the horizon. One of which might be a forum to encourage the community to share and to provide a place to chat and ask questions. So keep your eyes peeled.

And remember if you haven’t done so yet, subscribe to our feed so you don’t miss out on any great tutorials.

Model View Controller with Java

The aim of this tutorial is to introduce the use of a coding style called Model View Controller. You may well have heard of this already, but probably haven’t seen how to put it into practice.
I’m going to use Java to demonstrate it as it is a very commonly used Object Oriented programming language that uses a similar syntax to many other languages.

Read the rest of this entry »

Your C# Program in the System Tray

When creating desktop applications it is sometimes necessary for the application to run in the background, for example firewall, anti-virus and media player software. Instead of permanently taking up space in your taskbar these applications are accessible from the system tray.

This tutorial will show you how to do this in a C# application using Microsoft Visual Studio. I will also show you how to add a right click context menu to the tray icon and how to programmatically change the tray icon.

Read the rest of this entry »

Coding Styles and Standards

I suppose one of the strangest thing about standards is there are so many of them. For most programmers this is probably a familiar issue. Style and standards are pretty much dependent on the programmer or the company rather than the language, which defeats the purpose a wee bit. The only solid fundamental is that style and standards are used to make code more legible. How easy is your code to read?

Most of the debate revolves around indent style but other arguments arise about commenting, identifier naming, spacing etc. So lets have a look and see what we can find.

Read the rest of this entry »

Create an Email Form using AJAX

This tutorial will cover how to create an Email Form using AJAX (specifically using the Prototype javascript library and the Livevalidation javascript library) and PHP. I will assume you have at least a basic knowledge of HTML, CSS, PHP and Javascript.

Read the rest of this entry »

Tutorial Suggestions/Requests

We want ProgTuts to be as helpful to our readers as possible. So we want you to tell us what you would like to see here. We can’t promise every suggestion will be used, but if you’d like to make a suggestion/request for a tutorial then please do so here in the comments on this thread in the forum.


Welcome to ProgTuts. A new website designed to provide high quality tutorials for programmers.

To find out more about ProgTuts including what types of amazing tutorials we hope to provide check out our about page. If you fancy yourself as a tutorial writer and want to contribute to ProgTuts then check our contribute page. We are always keen to hear tutorial suggestions/comments/feedback and even constructive criticism and how we can make this site even better. So please feel free to get in contact.

So enjoy the site and look forward to some amazing programming tutorials!