Written by:2009/03/31 10:19 AM
One of the things I had to grasp early when learning Object Orientated Programming, or OOP, is this idea of events. Raising events, and what they mean. Then when it came to web development, I had to find out about postbacks. Now if these two concepts allude you or confuse you, then stay tuned. I am going to try and make it easier for you.
In this lesson we are going to look at how to handle events and set properties in code on the server. It is much the same as in many other languages, with the difference of mindset. Normally these settings take place on the client, in a windows application. But because the web is a disconnected application, the mindset has to change slightly when dealing with web apps. But if you understand events and properties in other languages, this will be no different.
We will also be talking about a concept called postback. We will also see how to determine if the current web request is as a result of postback or first time request. Why does that even matter. Why do we need to watch for it. How does it affect our code and the resultant web page?
So hurry to our article page and read all about events and postbacks. You won't be sorry.
BTW, what else would you like to see covered? I am going through a whole lot of articles, and topics to cover, I will try in the course of time cover as much as I can. But I would probably not cover everything. If you feel that there is a subject that will benefit you and others, let me know.
0 comment(s) so far...
Do you want to receive blog updates via e-mail. Then just click on the link below. You will be redirected to Google's feed burner, where you can fill out a form. Supplying your e-mail address.
The subscription is managed entirely by Google's Feedburner. We cannot and do not collect your email address.
Subscribe to The Brave Programmer by Email
Sign up with Disqus to enjoy a surprise box of features