Tag Archives: web

The Magic of MemFile

In the Purple Utilities Library is a class called MemFile which you can efficiently stream into and out of. Learn to use it properly can increase the efficiency of your programs when reading and writing data.

Posted in Coding, Design, practice | Tagged , , , | Leave a comment

#30 Avoid Session Variable Abuse

When programming an application to run in a web server or app server, there is often the need to retain a value from interaction to interaction.  It is easy, and very temping, to create a new session variable at the … Continue reading

Posted in Coding, Design | Tagged , , | Leave a comment

#23 UTF-8 Encoding

Wondering what encoding to use for your web pages?  Wonder no longer.  Always use UTF-8 encoding.  It is the single best encoding, supports the most characters, the most languages, and is available on every browser.  That is all you need … Continue reading

Posted in Coding, practice | Tagged , , , | Leave a comment

#12 context path and browser redirecting

What is the URL to the application? There is one, and that is the one that the user places into the browser in order to access the application. Unfortunately, along the way, the request will pass through many intermediate services … Continue reading

Posted in Coding | Tagged , , | Leave a comment

#8 The "go" parameter

Web pages can be designed to be reusable like subroutines that go and do something for the user, and then return. For example, the login may need more information, redirecting to a page to prompt for that information, and when … Continue reading

Posted in Coding | Tagged , | Leave a comment