13.07.2015 Views

Software Engineering for Internet Applications - Student Community

Software Engineering for Internet Applications - Student Community

Software Engineering for Internet Applications - Student Community

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

36• "I feel like those Jewish people in Germany in 1942." -- TedTurner (on being prevented from buying another TV station)• "If a man speaks in the <strong>for</strong>est and there is no woman thereto hear him, is he still wrong?" -- Unknown Heroine• "Men are like a fine wine. They all start out like grapes, andit's our job to stomp on them and keep them in the darkwhere they will mature into something you'd want to havedinner with" -- Unknown Heroine• "A woman needs four animals in her life. A mink in thecloset. A jaguar in the garage. A tiger in bed. And an ass topay <strong>for</strong> it all." -- Anne Slater• "An editor should have a pimp <strong>for</strong> a brother, so he'd havesomeone to look up to." -- Gene Fowler• "The newest computer can merely compound, at speed, theoldest problem in the relations between human beings, andin the end the communicator will be confronted with the oldproblem, of what to say and how to say it." -- Edward RMurrow• "Egotism is the anesthetic that dulls the pain of stupidity." --Frank Leahy• "Some <strong>for</strong> renown, on scraps of learning dote, And thinkthey grow immortal as they quote." -- Edward YoungReturn to your RDBMS shell client (e.g., SQL*Plus <strong>for</strong> Oracle) andselect * from the table to see that your quotation has been insertedinto the table.In your RDBMS shell client, insert a quotation with some hand-codedSQL. To see the <strong>for</strong>m of the SQL INSERT command you should use,examine the code on the page quotation-add. After creating this newtable row, do select * again, and you should now see two rows.Hint: Don't <strong>for</strong>get that SQL quotes strings using single quote, notdouble quote.Now reload the quotations URL from your Web browser. If you don'tsee your new quotation here, that's because you didn't type "commit;"at SQL*Plus and the Web server is being protected from seeing theunfinished transaction.Exercise 6a: Eliminating the lock table via a sequenceRead about Oracle's sequence database object inhttp://philip.greenspun.com/sql/data-modelingandGlossaryAbstract URLAn abstract URL is one without a file extension, e.g.,http://foobar.com/contact-info rather thanhttp://foobar.com/contact-info.html orhttp://foobar.com/contact-info.aspx. If you only publishabstract URLs you have the freedom to change yourimplementation technology without breaking users'bookmarks and links from other sites.Acceptance TestA test per<strong>for</strong>med by an end user or system owner to verifythat the delivered software functions correctly and meetsrequirements.ACID TestA test proposed by IBM in the 1960s <strong>for</strong> transactiondatabase management systems: Atomicity, Consistency,Isolation, Durability. An ACID-compliant database such asOracle or SQL Server can guarantee that two updates willbe done together (atomicity), that rules <strong>for</strong> integrity can beestablished and en<strong>for</strong>ced (consistency), that concurrentusers won't see each others' half-finished work (isolation),that in<strong>for</strong>mation won't be lost even if a hard disk dies(durability). See the Basics chapter and SQL <strong>for</strong> Web Nerdsat http://philip.greenspun.com/sql/ <strong>for</strong> more.Application Serversee "Middleware"AOLserverReleased in early 1995 as "NaviServer", AOLserver remainsone of the most powerful Web server programs on themarket and it is free and open-source. It is a multi-threadedserver that provides a lot of support <strong>for</strong> connecting torelational database management systems. AOLserver isdocumented at www.aolserver.com.ApacheVies with Microsoft <strong>Internet</strong> In<strong>for</strong>mation Server <strong>for</strong> the title of"world's most popular Web server". Apache was never verytechnically advanced but it was the best of the free andopen-source Web servers <strong>for</strong> a time and grew todominance. More: http://philip.greenspun.com/panda/server.APIApplication Programming Interface. An abstraction barrierbetween custom/extension code and a core, usuallycommercial, program. The goal of an API is to let you writeprograms that won't break when you upgrade the underlying313

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!