| RTL referenceGlossary|Tips/Tricks|FREE App/VCL|Best'O'Net|Books|Link To |
| TASPObject - Continued | ||||||||||||||||||
| Discussing a complete web architecture using the TASPObject object. In this article, we are going to examine a skeletal structure for building a website that is extremely scalable. | ||||||||||||||||||
Article submitted by: Curtis W. Socha, http://www.absolute-research.com
Introduction This will be the only topic of this lesson and since there is a lot of code, I have decided to put the code in a downloadable file. The code is heavily commented and this tutorial requires quite a bit of hands on work and some serious thinking. Think you are up to it? If so, I promise you will walk away having learned at something new.
So, what does this architecture look like? Why in the world would I want to do it this way? Well, I suppose it does sound interesting. Can I see this in action and can you show me the code? So, go ahead and download the following code and compile, register the DLL, and put the .ASP file into a directory that you can browse to via your web browser.
Click here to download Lesson7.zip.
This code is rather advanced both syntactically and conceptually in relation to the other tutorials on my website. Here, we will be exploring several new objects and concepts:
a) The IRequestDictionary interface All of these things are worth learning about and it will, at the very least, open your mind to a new way of designing architectures that are super-scalable because of abstract craftsmanship. There comes a point in every programmers life where they know most of the syntax, have coded some rather large cumbersome projects consisting of thousands and thousands of lines of code, and then they realize that there must be a better way to build large scale structures.
It is at that moment that they begin to explore abstract architecture concepts where the architecture isn't so damn rigid and you don't feel like your coding yourself into a corner. This exercise is not meant to tell you that my way is the best way to create a large-scale website. Nor is it meant to represent an ideal architecture. What it is supposed to do is show you how to use the IRequestDictionary object, use the MethodAddress class function, and most of all, to make you think outside of the box to see what is possible when you think of your construct in an abstract manner.
The rest of this tutorial is contained within the code comments. As I mentioned, its very hands on. Its only 200 lines of code of which at least 75 of them are just comments.
Summary First page > An introduction to the TASPObject class > Page 1, 2
|
||||||||||||||||||
All graphics (if any) in this feature created by Zarko Gajic.
| More Delphi |
|
· Learn another routine every day - RTL Quick Reference. · Download free source code applications and components. · Talk about Delphi Programming, real time. · Link to the Delphi Programming site from your Web pages. · Tutorials, articles, tech. tips by date: 2001|2000|1999|1998 or by TOPIC. |
|
· NEXT ARTICLE:
Deploying Delphi ADO database applications - DB/23. Chapter twenty three of the free Delphi Database Course for beginners. It is time to make your Delphi ADO database application available for others to run. Once you have created a Delphi ADO based solution, the final step is to successfully deploy it to the user's computer. |
| Stay informed with all new and interesting things about Delphi (for free). |
|
|
| Got some code to share? Got a question? Need some help? |

