background preloader

Ootips - Object Orientation Tips

Big Ball of Mud Brian Foote and Joseph Yoder Department of Computer Science University of Illinois at Urbana-Champaign 1304 W. Springfield Urbana, IL 61801 USA foote@cs.uiuc.edu (217) 328-3523 yoder@cs.uiuc.edu (217) 244-4695 Saturday, June 26, 1999 Fourth Conference on Patterns Languages of Programs (PLoP '97/EuroPLoP '97) Monticello, Illinois, September 1997 Technical Report #WUCS-97-34 (PLoP '97/EuroPLoP '97), September 1997 Department of Computer Science, Washington University Chapter 29 Pattern Languages of Program Design 4 edited by Neil Harrison, Brian Foote, and Hans Rohnert Addison-Wesley, 2000 This volume is part of the Addison-Wesley Software Patterns Series. This paper is also available in the following formats: [PDF] [Word] [RTF] [PostScript] Also by Brian Foote and Joseph Yoder Architecture, Evolution, and Metamorphosis The Selfish Class This paper was twice featured in Slashdot A number of additional patterns emerge out of the BIG BALL OF MUD. Still, this approach endures and thrives.

hacks.oreilly.com -- O'Reilly Hacks Series Here’s a special post from Hackszine – great way to follow all the authors from our HACKS series…. Ed note: In this guest post, veteran Hacks series author Paul Bausch takes on a challenge that’s been on my todo list for a while, providing a solution that should be of immediate interest to all readers of this site and just might serve as a seed for future hacking around here. I have a shelf full of O’Reilly Hacks books across a wide range of subjects. I contributed a couple in the Web Applications category, but I also have Hacks books about digital photography, hardware, scripting languages, gaming, and operating systems. So I went on a mission to gather the Hacks authors’ blogs using the tools I know best: Web Applications. I plugged the feeds into Google Reader, and renamed each feed the author’s full name. Here’s the list of feeds as OPML if you’d like to try it: Hacks Authors. Related: Phillip Torrone Editor at large – Make magazine. Related

Object Adapter based on Dynamic Proxy Doing Things with Java that Should Not Be PossibleObject Adapter based on Dynamic Proxyby Heinz KabutzMay 11, 2005 Summary The Object Adapter Design Pattern is often used for modifying an interface into another interface that the client expects. A drawback with this pattern is that you need to implement all the methods of the target interface. In this newsletter, solve the problem with dynamice proxies In the latest upgrade of my website (many more to come soon) I have added an RSS feed for The Java(tm) Specialists' Newsletter for those who would prefer receiving the newsletter via RSS rather than as an email. Object Adapter based on Dynamic Proxy A few weeks ago, I presented my Design Patterns Course to a wonderfully inspiring audience in Austria. There are two different types of Adapter Design Patterns: Object Adapter and Class Adapter. Application of Object Adapter Java 5 has a neat little feature, that is not widely known. Dynamic Object Adapter using Dynamic Proxies Kind regards Heinz

Convert a binary data (BinaryRead) to a string by VBS There are at least two ways you can convert binary data (for example data from BinaryRead method) to a string. 1. Use VBS MultiByte functions : SimpleBinaryToString is clear function, but the function takes much time for large data. 2. ADODB.Recordset lets you work with all supported VARIANT data types - also with binary and String data (VT_UI1 | VT_ARRAY, BSTR). 3. ADODB.Stream lets you work with String and binary data type. The source code on this page and other samples at are a free code, you can use it as you want: copy it, modify it, use it in your products, ... If you use this code, please: 1. or 2. <A Href=" Title="This article, demonstrates several versions of source VBS code you can use to work with binary data in ASP and convert the data to a String format."

Pure ASP File Upload by Jacob Gilley As a regular to ASP 101, I feel it neccesary to give a little back to the site that keeps me on top of things in the world of ASP. And so, I give you the FileUploader ASP Library. In a nutshell, the FilerUploader library is simply a single ASP include that provides an object-oriented approach to getting files from Internet clients. I have seen numerous "pure ASP" upload solutions, some you even had to purchase, that did the job, but required you to wade through pages of code just to see how things worked. Then there are the COM components that you can buy that do what you want and more, but cost an arm and leg to obtain. NOTE - YOU MUST HAVE VBSCRIPT v5.0 INSTALLED ON YOUR WEB SERVER FOR THIS LIBRARY TO FUNCTION CORRECTLY. The library consists of two VBScript classes: FileUploader and UploadedFile. Here is how to do it: (this assumes that you have included "upload.asp") Once that is complete, you can begin access and saving the file to your hard-drive or to a database.

20 Things the average person doesn&#039;t know about XP 1. It boasts how long it can stay up. Go to the Command Prompt in the Accessories menu from the All Programs start button option, and then type 'systeminfo'. The computer will produce a lot of useful info, including the uptime. If you want to keep these, type 'systeminfo > info.txt'. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. AJAX, DHTML and JavaScript Libraries Today JavaScript is widely used by web developers. There are a lot of libraries to add special effects, simple way to implement Ajax, complex components, forms, tabs or everything else. Here’s a collection of Ajax, Javascript and DHTML Libraries. Prototype is a JavaScript Framework that aims to ease development of dynamic web applications. AHAH is a very simple technique for dynamically updating web pages using JavaScript . dojo is an Open Source DHTML toolkit written in JavaScript. AjaxAC is an open-source framework written in PHP, used to develop/create/generate AJAX applications. JSAN – JavaScript Archive Network is a comprehensive resource for Open Source JavaScript libraries and software. Ajax.NET Professional is one of the first AJAX frameworks available for Microsoft ASP.NET and is working with .NET 1.1 and 2.0. AjaxRequest Library is a layer over the XMLHttpRequest functionality which makes the communication between Javascript and the server easier for developers.

75 (Really) Useful JavaScript Techniques | Developer&#039;s Tool Advertisement Developers and designers are using more and more JavaScript in modern designs. Sometimes this can be a hindrance to the user and take away from the simplicity of the design, and other times it can add greatly to the user’s experience. The key is a) adding the right amount of JavaScript, and b) using the right JavaScript techniques. Thanks to the Web’s widespread adoption of JavaScript, JavaScript libraries have sprung up to help make design and development easier. However, sometimes we need JavaScript solutions that are a little more involved or specific. You may want to take a look at the following related articles: 75 Useful JavaScript Techniques Hyphenation in Web11This project collects working solutions for automatic hyphenation in (X)HTML pages. SocialHistory.js13SocialHistory.js enables you to detect which social bookmarking sites your visitors use. Textboxlist Auto-Completion15One of the most attractive features of JavaScript is the highly useful autocompletion.

Related: