What has been done?

As I told you in yesterday’s post, I’m currently developping a new website for my own web design company and a framework in PHP in parallel.

But what has been done so far?

Well, firstly I created some sort of prototype: a single homepage with DIV’s for logo, header, navigation, content, etc…, the logo’s and a stylesheet. It takes some time in the first place, but I think it makes developping a website much easier if you have a clear view of what you want before you start implementing the functionality.

Then I started with the navigation. I decided to go for a (small) matrix structure, with products and services on the one hand and a target-audience approach on the other hand. It went quite well and I’m pretty happy with the result šŸ™‚

The navigation is not yet fully implemented in the framework, and I’m not sure if it ever will be completely in the framework (need to do some heavy thinking about that).

Well, so far so good for the pretty fun stuff, now it’s time for the real thing…

The next thing I started with was the user registration and login functionality. But what about user registration without a database? So I needed the use of some sort of DataAccess base-class (As I’ve done a lot in COM and .NET development). The Data baseclass allows met to execute queries on the database without having to open and close the database and entering username and password time after time again. Execute the query and continue with the result, dynamic queries and arguments, etc… Nice work šŸ˜‰

OK, so we have data access, back to the user registration and login.

But how can I handle user login, without some sort of state or session management? That’s when I started with the State, State->Cookie and State->Session classes. This allows me to choose wether I want the user state to be implemented using cookies or using session variables (which uses a cookie also, but can be deployed without using a cookie). Of course the regular session and cookie functionality is (or will be) implemented.

Another step taken… Back again to user registration and login.

So an unregistered visitor comes on the site and gets a ‘Register’ link. This shows a popup where he can enter a user name and an email address for registration, along with optional personal data. While I was creating the register-form, I tought: “Why type the same stuf over and over again and change some id’s and labels each time, just to create a simple form?” And the answer was: “to realize that this stuff needs to be in the framework as well!”

So the Form and Form->FormField classes were born. Now I can simply create a form by specifying some variables, some formfield variables and nothing more. This will save me a lot of time, espacially if I add form-validation to it. But that’s something for the (near) future.

That’s what has been done in the past weeks (I’ve got a daytime job you know, and I don’t have time every day and sometimes I realy don’t feel like working in the evening, that way it ook weeks for this).

The next post will be about what I was working on in the past days and what (problems) I came up to.

Stay tuned!

Some sites of mine first… :)

Allow me to mention a few of my sites first end some projects that I’m currently working on:

Anthoro.behttp://www.anthoro.be: That’s the site for me as a web professional. I started a Web Design Company a few years a go while I was working as an Internet Consultant at one of the largest IT Consultancy firms of Belgium (and I am still working there).

Currently I’m restyling and re-engineering the whole site to form a basis for another project I’m working on: Phramework. As you might make up from the name, it is a framework written in PHP. The testing area is available at: http://new.anthoro.be. I’ll keep you informed on these pages on the development of the site and the framework.

Why writing a new framework, while there are plenty of free, open-source, public available frameworks? I run a Web Design Company, and I want to make money with it, thats why $)

AnthoroStatshttp://stats.anthoro.be: Earlier I started a small website statistics engine to track visitors on sites I’ve developped for myself and for customers. The service is publically available. So if you need a very basic website user tracking service, try this one out. This site is also being redesigned and re-engineered. A very basic prototype is available at: http://stats2.anthoro.be. No functionality yet, as I’m planning to use the Phramework for this site as well.

Anthoro FormMailhttp://formmail.anthoro.be: Also for my customers (and for myself) I’ve created some sort of FormMailer. Very easy, very basic and available for everyone who wants to use it.

FamilieBoden.behttp://www.familieboden.be: That’s the site I’ve developped together with my cousin to support our 2-yearly play. That’s right, I’m also an actor and every 2 years the family (as in my grandparents’ parents’ descendants and relatives) plays in a local joint. This year we played 3 times for about 300 people. Quite impressive, I think.

Javado.behttp://www.javado.be: That’s one of the first sites I’ve developped for a customer (about 3 years ago). It hasn’t changed since then (don’t blame me, blame them), except for some minor issues, so it isn’t really a good impression of the work I do.

Forget about this one, but is does exist and it is my baby: AnthoroLinkshttp://www.anthoro.com/: if it’s still available, it’s hosted at Brinkster and was originally developped to manage my browser’s bookmarks online, while a spent my days at defferent customer location, my office and my home working place. I have no intention on supporting and maintaining this site any further and I guess it will soon disappear. (the launch of my company’s new website would be the right occasion to redirect the site and let the original sleep forever in peace +-).

Right now, I have some prospects and maybe I can develop thair website in the near future. I can’t mention any details here. Competitors also read the blogs…

Some sites of mine first… :)

Allow me to mention a few of my sites first end some projects that I’m currently working on:

Anthoro.behttp://www.anthoro.be: That’s the site for me as a web professional. I started a Web Design Company a few years a go while I was working as an Internet Consultant at one of the largest IT Consultancy firms of Belgium (and I am still working there).

Currently I’m restyling and re-engineering the whole site to form a basis for another project I’m working on: Phramework. As you might make up from the name, it is a framework written in PHP. The testing area is available at: http://new.anthoro.be. I’ll keep you informed on these pages on the development of the site and the framework.

Why writing a new framework, while there are plenty of free, open-source, public available frameworks? I run a Web Design Company, and I want to make money with it, thats why $)

AnthoroStatshttp://stats.anthoro.be: Earlier I started a small website statistics engine to track visitors on sites I’ve developped for myself and for customers. The service is publically available. So if you need a very basic website user tracking service, try this one out. This site is also being redesigned and re-engineered. A very basic prototype is available at: http://stats2.anthoro.be. No functionality yet, as I’m planning to use the Phramework for this site as well.

Anthoro FormMailhttp://formmail.anthoro.be: Also for my customers (and for myself) I’ve created some sort of FormMailer. Very easy, very basic and available for everyone who wants to use it.

FamilieBoden.behttp://www.familieboden.be: That’s the site I’ve developped together with my cousin to support our 2-yearly play. That’s right, I’m also an actor and every 2 years the family (as in my grandparents’ parents’ descendants and relatives) plays in a local joint. This year we played 3 times for about 300 people. Quite impressive, I think.

Javado.behttp://www.javado.be: That’s one of the first sites I’ve developped for a customer (about 3 years ago). It hasn’t changed since then (don’t blame me, blame them), except for some minor issues, so it isn’t really a good impression of the work I do.

Forget about this one, but is does exist and it is my baby: AnthoroLinkshttp://www.anthoro.com/: if it’s still available, it’s hosted at Brinkster and was originally developped to manage my browser’s bookmarks online, while a spent my days at defferent customer location, my office and my home working place. I have no intention on supporting and maintaining this site any further and I guess it will soon disappear. (the launch of my company’s new website would be the right occasion to redirect the site and let the original sleep forever in peace +-).

Right now, I have some prospects and maybe I can develop thair website in the near future. I can’t mention any details here. Competitors also read the blogs…