Posts

Showing posts from March, 2006

Displaying the Sizes of Your SQL Server's Database's Tables

Displaying the Sizes of Your SQL Server's Database's Tables . Uses ASP.NET to show you how much space you are using for each table in your SQL Server database. Returns table name, number of rows, reserved space, space used by table data, space used by table indexes and unused space. Tags: Web Developer Blog , SQL Server , ASP.NET

Helpful Links on JavaScript Closures

Helpful Links on JavaScript Closures . Some useful links on closures (what they are, how to write them etc). They are very useful, but can cause memory leaks (especially in Internet Explorer) and are not always appropriate. Tags: Web Developer Blog , JavaScript

Round-up of 30 AJAX Tutorials

Round-up of 30 AJAX Tutorials is a very useful list of tutorials for those just starting with Ajax, or lacking knowledge in some areas. Areas it covers: Client-Server Communication Drag and Drop Web Forms File Uploader (Java) Framework and Toolkit Getting Started Image Gallery (JavaScript, XML) Keyword Suggest Live Search Rounded Corner Sorting Tabbed Pages Tags: Web Developer Blog , JavaScript , Ajax

Ajax Toybox

Ajax Toybox gives you simple examples of using client-side JavaScript (XmlHttpRequest) to get remote content (served by PHP). Includes a dynamic City/State lookup and an RSS News Ticker (using Magpie RSS and PHP to get remote feeds). Tags: Web Developer Blog , PHP , Ajax , JavaScript , PHP

JavaScript Framework Comparison - Popup Windows

I have a simple function for opening new windows. I want all anchors with the class external (or contained in a parent with this class name) to open links in a new window using this function. So I look at the various frameworks for doing it. In this case, I am comparing jQuery with Prototype (more may follow soon in an edit to this post). function popup() { window.open(this.href); return false; } This function is the same, regardless of framework used (so as to emulate a real world scenario). HTML code: <p>In a div</p> <div class="external"> <a href="http://www.google.com">Google</a> | <a href="http://search.yahoo.com">Yahoo</a> | <a href="http://search.msn.com">MSN</a> | <a href="http://www.ask.com">Ask</a> </div> <p>In a list</p> <ul class="external"> <li><a href="http://www.google.com">Google</a&g

JavaScript Frameworks

There are many frameworks to make working with web pages (via JavaScript) easier. All of them work cross browser, do events (window load, element click etc) and basic manipulation (get element, modify css, hide/show/move), but some do more than others. Syntax often differs between them. Choosing one to work with depends on what you want to do, and how much code you are willing to write yourself (sometimes it is more satisfying to figure out a solution to a problem yourself, rather than to rely on someone else's code). Like with any code, the more it does, the bigger the download for the client. So it may be best to go with the most minimal solution (no extra features you won't use). Here is a basic overview of what is available (that I know of) Prototype http://prototype.conio.net/ There is a useful reference for this at Prototype Dissected . As you can see from it, Prototype has quite a lot of features. Very widely used and quite a reasonably big file (approx 46kb). There

Yahoo! Developer Network - PHP Developer Center

Yahoo! Developer Network - PHP Developer Center - found via Quick Link: Yahoo's PHP Developer Center . A good resource for PHP developers, including snippets and useful links. Code is for interacting with Yahoo's Web services, but could be used as a learning tool for various common tasks (parsing XML, caching etc). Tags: Web Developer Blog , PHP , Yahoo