Afterword
A companion to "ASP, Learning by Example"
by Robert Mellor.

Congratulations on finishing the course "ASP: Learning by Example". You may well be proud of yourself and asking, "Where do I go from here". If you really think you have understood everything, then Franklin Beedle have entered into an agreement with an accredited English college, so you can click here and take the exam to become an ASP programmer. Otherwise here are a few pointers.


1. The database problem.

Drop Access. You can use Access & ASP for a few limited cases, for example, an intranet in a small or medium sized firm. But Access has several drawbacks. For example, Access is an Office program. When filled with around 20 000 to 50 000 data field, it gets so slow that only max. 5 users can be in at any one time. It is not scalable, so this is not good if you want a storming e-commerce web site.

Instead of Access, use SQL Server Pack 7. Why (you may ask) was this not recommended from the start ? There are two answers. Firstly, the book has to do with ASP, not databases, and secondly cost. Access is a free part of MS Office, SQL will cost you serious money. How much ? Licence costs have a mystical way of not being very clear, so here is a small overview:

IIS NT4 Win2000
SQL SP7 SQL SP7 SQL SP7
SQL SP7 Internet Connector   SQL Active Directory Services

Clear? Of course not. If you have a server running IIS you need an IIS licence, an SQL SP7 licence, and an SQL Server 7 Internet Connector. This will cost you at least 1000 dollars. If you are running NT4 then (above the NT4 licence) you will only need an SQL Server Pack 7 licence (around 400 dollars). However, you may wish to run on Win2000 (which contains IIS for free), but then, in addition to SQL SP7, the version of IIS that comes with Win200 needs SQL Server Pack 7 Active Directory Services. In all cases you may need MS Active X Data Objects 2.1, so ask your local Microsoft Certified Solution Provider for a concrete offer for your case.

Connecting ASP to SQL databases is like with Access. In one unbroken line type:

strConnect = "Driver={SQL Server};Server=servername;
UID=username;PWD=password"

2. The business layer (middleware) approach

You have already explored the limits of what ASP can do with databases. It is tough—you know that it is a strenuous exercise to get the whole benefit. So several lines of thought have converged on "middleware."

Middleware solves several problems:

  1. ASP files are the public domain. So it is risky letting ASP talk directly to your precious database. This is OK with intranet, but is too easy to hack in an Internet situation
  2. ASP cannot talk to databases very well, but Visual Basic is really excellent in doing that.
  3. ASP objects are checked by IIS ("does this object really have that property, hmmm.... I’d better go and check, won’t take a moment ........"), and indeed early ASP Internet sites got a bad reputation for being slow (it is not too bad with intranet due to the faster connection). However, in Visual Basic, the relevant properties are defined and bundled with the object. IIS does not take the extra time to check.

Thus a three-tiered system has evolved. ASP is never allowed to talk directly to the database. Instead, ASP talks to middleware modules which are written in Visual Basic. This solves any security problems. On top of that, the Visual Basic lets you manipulate the database much better (so you can get more out of it) and faster.

Why (you may ask again) was this not recommended from the start ? There are two answers. First, the book has to do with ASP, not Visual Basic, and second, would you really have gone out and spent 2000 dollars on a Visual Studio Enterprise Edition (which includes Visual Basic 6 and Visual InterDev)?

3. The vanishing milk problem

Imagine an Internet supermarket selling milk (amongst other things). Late in the day there are 10 cyber-shoppers in the store. Each puts milk into their cyber-shopping baskets. However, in reality, there is only one carton of milk left on the shelves, so when the first one gets to the cash-out, the milk in the other 9 shopping baskets simply disappears!

Everybody would like a lot of cyber-shoppers in their Internet store, so how do you keep a check on how much you have left ? If you check out as soon as stuff is put in a shopping basket, then you’ll soon have empty shelves, but all your cyber-shoppers may simply have shut down their browsers, so you’ve got no money either!

The best answer was MTS, Microsoft Transaction Server. This became incorporated into Commerce Server 2000, which has recently been re-released in a slightly more user-friendly form (MS Commerce Server 2002). Unfortunately, this is not the right place to go into Commerce Server, but if you want an e-commerce solution (or be an e-commerce programmer), then this is the kind of problem you’ll have to address.

4. Life after ASP

I hope you have got a few pointers as to what to do now. You need to look at transactions, you need to know more about databases, and, if you wish to continue in Microsoft services, then you need quite a bit of XML.

Good luck.

 

Home | News | Catalog | Contacts | Review Copy Requests| Order | Errata | Submission Guidelines | History | Webcast Archives | eTechNotes | Instructors
get quality meridia prescription order cheapest meridia usa purchase brand meridia overnight delivery buying natural meridia meds cheap meridia uk order cheap meridia mexico order discount meridia pharmacy buying lowest price meridia mexico buying quality meridia meds buying meridia medications cheap meridia medications meridia weight loss pill purchase brand meridia internet purchase lowest price meridia medications get natural meridia prescriptions meridia 10mg meridia weight loss forum purchase best price meridia mexico purchase quality meridia meds get quality meridia medications meridia medication meridia success stories photo results from taking meridia . get quality meridia uk meridia overseas natural meridia overnight delivery purchase discount meridia drug best price meridia canada information on the drug meridia meridia pics order cheap meridia canada purchase discount meridia pills meridia overnight shipping order affordable meridia prescription purchase lowest price meridia pills buying meridia prescriptions john arnold meridia meridia warning order discount meridia pill xenical vs meridia get natural meridia overnight shipping meridia sibutramine order cheapest meridia mexico get quality meridia meridia price order cheap meridia medication purchase meridia overnight shipping how meridia worked for me meridia result purchase best price meridia drug quality meridia get quality meridia meds meridia pharmaceutical order brand meridia medication purchase generic meridia fedex delivery get natural meridia medication meridia and diet natural meridia medications purchase generic meridia meds get meridia pill medicine meridia meridia weight loss drug purchase cheap meridia pharmacy street maps of meridia mexico get quality meridia europe meridia overnight delivery order brand meridia usa purchase generic meridia pharmacy get meridia uk meridia side effects natural meridia canada purchase cheapest meridia canada boards meridia message low cost meridia meridia southpointe hospital purchase best price meridia pill purchase meridia fedex delivery order affordable meridia medications order generic meridia overseas buy affordable meridia overnight shipping cheap meridia mexico naming drugs lipitor meridia order best price meridia meds order lowest price meridia pharmacy buy generic meridia medications cheapest meridia prescriptions natural meridia on line order best price meridia overnight shipping quality meridia overseas buying natural meridia pharmacy meridias capital nevada order best price meridia drugs order natural meridia prescriptions buy meridia fedex delivery get lowest price meridia drugs natural meridia usa order best price meridia overseas purchase quality meridia pill buying lowest price meridia overseas how much weight can i lose on meridia order affordable meridia overseas order generic meridia online brand meridia overnight shipping buying quality meridia meridia weight loss photos order affordable meridia usa purchase quality meridia drugs order best price meridia purchase meridia uk cheap meridia order get quality meridia pills meridia reductil order best price meridia online purchase meridia europe buying discount meridia pills hospital meridia pointe south meridia rating order affordable meridia meds best price meridia medications get quality meridia drugs maximus decimus meridias natural meridia overnight shipping order meridia no prescription . get natural meridia usa get quality meridia no prescription order affordable meridia drugs meridia online pharmacy get natural meridia internet buying best price meridia on line get best price meridia meds natural meridia fedex delivery order best price meridia on line order lowest price meridia overnight delivery buy discount meridia meds get cheapest meridia overseas no prescriptin meridia order brand meridia canada quality meridia pharmacy buying cheap meridia drugs get meridia fedex delivery natural meridia online order affordable meridia prescriptions quality meridia on line buying cheap meridia cheapest meridia overnight shipping natural meridia meds order affordable meridia pills trans meridia airlines tma buying brand meridia medications cheapest meridia no prescription knoll pharmaceutical and meridia order affordable meridia pharmacy order generic meridia overnight shipping buy cheapest meridia uk carlos meridia index order affordable meridia mexico order brand meridia on line affordable meridia medication buying meridia meds how well does meridia work meridia weight loss stories natural meridia pill order brand meridia fedex delivery brand meridia overseas buying meridia pills overdosing on xanax xanax order overnight buy testing for xanax online prescription buy xanax with paypal xanax us doctors buy xanax available without a online prescription do xanax and toprol mix xanax and urine drug tests xanax without a prescription cheap buy xanax description online prescription how long does xanax stay in your urine xanax legal purchase buy overdose on xanax online prescription buy xanax pictures online prescription photos of xanax xanax pics buy xanax 1mg online prescription buy xanax us physicians online prescription taking xanax while pregnant xanax vs ativan buy xanax and paxil online prescription buy xanax xanax alcohol buy 2 mg xanax online prescription buy xanax message boards online prescription ordering xanax online xanax online without a prescription buy taking xanax while pregnant online prescription buy xanax ship next day where to buy xanax without prescription xanax withdrawal symptoms buy xanax as an antidepressant online prescription delivery overnight xanax white and yellow xanax bars buy differences xanax valium rivotril online prescription buy xanax klonopin ativan online prescription paypal and xanax xanax overnight buy withdrawl xanax xr online prescription buy xanax treatment online prescription side affects xanax xanax valerium mix side effects buy xanax and loratabs online prescription effects of xanax xr xanax 5mg xanax viagra fast cheap buy xanax cod fede online prescription fed ex overnight xanax xanax addiction symptoms alternatives to xanax buy xanax medication online prescription order xanax without prescription in usa xanax message boards buy taking xanax during pregnancy online prescription buy xanax online without a prescription purchase xanax ship next day xanax sleep disturbances buy xanax and breastfeeding online prescription buy xanax with fedex overnight what is xanax used for xanax withdrawl symptoms buy xanax bars online prescription cod xanax rx xanax and ultram xanax withdrwal buy xanax canada online prescription does xanax have interaction with marijuana withdrawl symptoms of xanax xanax xr dosage buy xanax cheap no s cod online prescription dose of xanax xanax 1 mg .. buy xanax homepage online prescription order xanax using discover card xanax online consultation buy sniff xanax online prescription buy xanax pill description online prescription purchase xanax online valium xanax pictures buy xanax addiction symptoms online prescription buy xanax using paypal purchase xanax online without prescription xanax sideeffects buy xanax and alcohol online prescription buy xanax viagra fast cheap online prescription purchase xanax paying cod xanax skelaxin interaction buy xanax and diovan drug interactions online prescription cheap xanax cod delivery types of xanax bars xanax withdrawal symptom buy xanax bipolar online prescription buy xanax with insurance online prescription which is better xanax or valium xanax testing buy xanax claritin interaction online prescription does xanax stay in your system withdrawl xanax xr xanax upjohn ts buy xanax cod online prescription effects of snorting xanax xanax 2mg 2mg xanax buy xanax history online prescription order xanax cod xanax long term withdrawal buy pharmacy xanax ambien online prescription buy xanax now online prescription pharma shop xanax us xanax online indonesian pharmacy buy xanax 5mg online prescription buy xanax picture web online prescription photo of xanax xanax pill photos buy xanax and ambien lexapro online prescription buy xanax use with estroven online prescription purchase xanax online xanax side effects buy xanax and effexor online prescription buy xanax ratings and comments online prescription purchase xanax using discover card xanax pregnancy buy xanax and getting off online prescription buy xanax s online prescription purchase xanax with fedex overnight xanax prescription look like buy tranax xanax generic online prescription buy xanax show on drug screen online prescription pictures of xanax valium xanax prescription buy types of xanax bars online prescription buy xanax sleep disturbances online prescription prescription xanax cod xanax price buy xanax 0 25 mg online prescription buy xanax overdose side effects online prescription problems using xanax xanax sale buy xanax 2mg online prescription buy xanax paxil interaction online prescription overnight delivery of xanax xanax overdose side effects buy xanax american express buy xanax pharmacy viagra hydrocodone valium carisoprodol online prescription oversea xanax xanax paxil and together buy xanax and esophageal spasm online prescription buy xanax prescribing information online prescription pharmacy xanax xanax phentermine interaction buy symptoms of xanax addiction withdrawl online prescription buy xanax now picture identification of xanax xanax pills buy take xanax with paxil online prescription buy xanax sales online prescription pictures of xanax bars xanax prescribing information buy topamax used for xanax withdrawal online prescription buy xanax stays in system online prescription prescription drug xanax xanax prescriptions online buy withdrawl symptoms of xanax online prescription buy xanax online non prior prescriptions needed order xanax with paypal xanax online pharmacy viagra hydrocodone valium carisoprodol buy xanax 2 mg online prescription buy xanax online order xanax without prescription xanax online prescription buy xanax and depression online prescription buy xanax overnight order xanax xanax or ativan antianxiety medication for fear of flying buy xanax and lexapro online prescription buy xanax pharmacy no online prescription overdose xanax xanax no precription buy side effects of drug xanax online prescription buy xanax price online prescription pet dosage xanax valium xanax not helping buy smoking xanax with marijuana online prescription buy xanax no online prescription pictures of xanax 3mg xanax on a drug test buy symptoms of xanax overdose online prescription buy xanax no prescription prescription xanax fail drug test xanax online mexico buy the truth about xanax online prescription buy xanax on cod online prescription order xanax paying cod xanax show on drug screen buy xanax bar online prescription buy xanax urine test online prescription purchase xanax online from the united states xanax side effect buy xanax addiction recovery online prescription buy xanax online in united states purchase xanax online non prior prescriptions needed xanax sideffects buy xanax and lortab soma online prescription buy xanax or klonopin online prescription purchase xanax overnight usa xanax or klonopin buy xanax and roxycodone hytuss online prescription buy xanax phentermine interaction online prescription order xanax with fedex overnight xanax mexican prescriptions buy pink xanax online prescription buy xanax mexican s online prescription order xanax xr