2005-12-28

Edit-in-Place with Ajax

This is something I've been trying to figure out myself for a project I'm currently working on.

Back on day one we looked at using the Prototype library to take all the hard work out of making a simple Ajax call. While that was fun and all, it didn’t go that far towards implementing something really practical. We dipped our toes in, but haven’t learned to swim yet.

So here is swimming lesson number one. Anyone who’s used Flickr to publish their photos will be familiar with the edit-in-place system used for quickly amending titles and descriptions on photographs. Hovering over an item turns its background yellow to indicate it is editable. A simple click loads the text into an edit box, right there on the page.

24 ways to impress your friends: Edit-in-Place with Ajax

2005-12-21

Google Press Center: Zeitgeist

The end of the year is coming near, so for the folks at Google is time to wrap up again: Google Zeitgeist shows what made the Google machines heaten up and what turned you on.

Read more at www.google.com/press/zeitgeist2005.html

2005-05-31

7Online.com: Sree's Top Several Reasons to Try Firefox

7Online.com: Sree's Top Several Reasons to Try Firefox:

"You have heard my solution many times before: download the free Google Toolbar at toolbar.google.com and it will automatically kill pop-ups. If you are on a Mac, then you should be using the free Safari browser, which you can get at www.apple.com/safari it eliminates pop-ups, too.

Today, I am recommending a whole alternative to the Internet Explorer (IE) browser. It's called Firefox and is from the Mozilla Foundation, a so-called open-source project that wants to keep the software in production through the technical and financial contributions of people around the world."

2005-04-25

Web Browser Standards Support

"This document will summarize the level of support for standard web technologies by popular web browsers. It deals primarily with the Internet Explorer, Firefox/Netscape/Mozilla, and Opera web browsers, with focus on the HTML, CSS and DOM technologies.

Not all of the standards are displayed here. In particular, some technologies that have consistently good or poor support by all major browsers or are seldom used aren't listed. These tables attempt to be as comprehensive as possible."

Web browser standards support

2005-04-19

Ten good practices for writing JavaScript in 2005

Bobby van der Sluis:

  1. Make sure your JavaScript code is in balance with its environment
  2. Create accessible JavaScript
  3. Create usable JavaScript
  4. Create easy applicable JavaScript
  5. Create future-proof JavaScript
  6. Know JavaScript's weaknesses, limitations and bugs
  7. Often there is more than one good solution
  8. Write your own scripts or reuse code from trusted places
  9. Optimize your JavaScript code for performance
  10. Use tools to optimize your work process

Full read here: Ten good practices for writing JavaScript in 2005

2005-04-18

Adobe to acquire Macromedia

Combined Company to Deliver Industry-Defining Technology Platform for Rich, Interactive Content

SAN JOSE, Calif. - April 18, 2005 - Adobe Systems Incorporated (Nasdaq: ADBE) today announced a definitive agreement to acquire Macromedia (Nasdaq: MACR) in an all-stock transaction valued at approximately $3.4 billion.

Adobe Systems Incorporated (Nasdaq: ADBE) has announced a definitive agreement to acquire Macromedia (Nasdaq: MACR) in an all-stock transaction valued at approximately $3.4 billion. Under the terms of the agreement, which has been approved by both boards of directors, Macromedia stockholders will receive, at a fixed exchange ratio, 0.69 shares of Adobe common stock for every share of Macromedia common stock in a tax-free exchange. Based on Adobe's and Macromedia's closing prices on Friday April 15, 2005, this represents a price of $41.86 per share of Macromedia common stock.

Adobe.com: Adobe and Macromedia
Macromedia.com: Adobe to aquire Macromedia
SitePoint Blogs: Adobe acquires Macromedia


UPDATE:
More links and info about the Adobe Macromedia acquisition can be found here:
eWeek - Adobe to Buy Macromedia for $3.4 Billion
PC World - Adobe Unveils Plan to Buy Macromedia - Combined company's media software may go head-to-head with Microsoft.
Mezzoblue - Macrodobia
webgraphics - Adobe buys Macromedia

2005-04-06

April Fools Overview

Traditional media seems to be a little reluctant this year to come up with real fun stuff.  But in the wide world of the Internet, there are really some good jokes.  An overview of what I've found:

Other amazing news that were no jokes (although they could have been):
  • Gmail doubles storage to 2GB: It is true!, at the time of writing, my storage space has 'grown' from 1232MB to 1272MB already
  • Pope is in a coma: he's not, he's already dead (sorry, couldn't stop myself)

2005-03-31

Gecko 1.8, Mozilla Firefox 1.1 and Mozilla Thunderbird 1.1 Release Plans



Asa Dotzler has posted a newsgroup message about the plans for the 1.8 release. As official Mozilla Application Suite development has ceased, the forthcoming Mozilla 1.8 Beta 2 release will be delivered as a set of alpha builds of Mozilla Firefox 1.1 and Mozilla Thunderbird 1.1. In preparation for the release of the alphas, the trunk will freeze at the midnight between Tuesday 5th April and Wednesday 6th April Pacific Daylight Time. During the freeze, only checkins approved by drivers@mozilla.org will be allowed to land. After the alphas come out, the tree will remain frozen until the Gecko 1.8 branch is created, which is likely to be in couple of months time. Broadly feature-complete betas of Firefox 1.1 and Thunderbird 1.1 will be released from the trunk in mid-May. A localisation freeze will come in to effect at this point, meaning that changes to strings used in the Firefox and Thunderbird user interfaces will not be allowed (this will let translators get an early start on localising the 1.1 versions). The final Firefox 1.1 and Thunderbird 1.1 releases will come from the 1.8 branch.

[Via mozillaZine]

2005-03-23

Gervase Markham: Greasemonkey

It's good to see Greasemonkey getting some press. It's a fantastic idea. I demoed something similar, although not as capable, at EuroFoo in August last year. I called it "refacing" - a way of changing the face of particular sites to suite yourself. My simple example was defacing the SCO website so that all the references read "SCOundrels". (Amusingly, the current Word of The Day on the front of www.sco.com is "Longevity". Presumably they are referring to Linux rather than their own business.) But I never had time to take it forward and it languishes still on my laptop. I'm glad someone is making this happen :-)



You don't actually need an extension to do something like Greasemonkey - you could do it all from a bookmarklet with appropriate server-side support. The bookmarklet injects a script which adds a DHTML popup to the page which gives a menu of available scripts. Of course, an extension gives much better UI, and is probably the correct solution for the long term.



However, the key problem with running scripts written by others in your session context for a website is security. There's no real way to control a malicious user script once it's running. Audit is your only line of defence. Be careful out there, kids.


[Via mozillaZine feedHouse]

CNET News.com Reports on Greasemonkey



CNET News.com has an article about an extension for Mozilla Firefox called Greasemonkey. First released late last year, the Greasemonkey extension lets users install small pieces of JavaScript that change the behaviour or display of Web pages. These pieces of code, called user scripts, can be set to affect every page you visit or just those for a particular site. The extension comes preinstalled with a script that changes all underlined text on Web pages to italics (to avoid confusion with links) and one of the many site-specific Greasemonkey user scripts automatically changes the colours used on Slashdot. More advanced scripts are available too, including one that adds a persistent search feature to Gmail.


Read the full article here:
CNET News.com Reports on Greasemonkey


[Via mozillaZine]

Tabs in JavaScript

Here’s something I hadn’t seen before: Tabtastic uses
JavaScript, CSS, and semantic markup to implement a tabbed navigation interface. Since the tabs are all pulled from the
same page, navigation between them is instantaneous.


The nice thing about this is that it degrades gracefully. If you disable JavaScript, you get a nicely-styled page that
has headings instead of tabs, and links at the top of the page to skip to each section. If you disable both JavaScript
and CSS, you get a usable no-frills HTML page with headings and sections instead of tabs.


You can also bookmark a specific tab, so they’ve eliminated almost all of the disadvantages of using a system like
this.


[Via The JavaScript Weblog]

2005-03-22

Firefox Toolbar Tutorial

This tutorial explains how to create a toolbar extension for the Firefox web browser. Before reading this tutorial, please understand the following two points:

  1. This tutorial is rather long.

  2. Creating a Firefox extension is easy.

  3. Please do not think that because this tutorial is lengthy, creating an extension is a difficult task (it's not). The size of this tutorial is due to the fact that I explain every step in detail. In addition, a great deal of material is covered. My intended audience are those who have never written an extension for Firefox. Hopefully you will find this to be a useful resource. Although it took me a while to write, I have enjoyed every bit of the process.

2005-03-09

Rumble in the Firefox Jungle?

Steel Gryphon: "This is bugging me, and its been bugging me for a while. In nearly three years, we haven’t built up a community of hackers around Firefox, for a myriad of reasons, and now I think we’re in trouble. Of the six people who can actually review in Firefox, four are AWOL, and one doesn’t do a lot of reviews. And I’m on the verge of just walking away indefinitely, since it feels like I’m the only person who cares enough to make it an issue. Things I’ve raised in relatively private contexts have gone unanswered, and I’m growing increasingly cynical about our ability to ship 1.1 early enough to make 1.5 remotely viable this year. At the glacial pace of development we’re currently running at, I don’t see how the ambitious plans for 2.0 are going to be at all viable before late 2006. Maybe I’m wrong, but no one’s bothered to take five minutes and tell me that."
 
eWeek: "Opinion: I think Firefox is the best browser on the planet, but it's not going to stay that way long unless the team behind it gets their act together sooner rather than later."
 
[DUTCH] WebWereld: "Het is niet allemaal koek en ei wat Firefox aangaat. Een van de drijvende krachten blijkt boordevol frustratie te zitten en staat op het punt te stoppen."

2005-03-08

Getting Started with Apache 2.0, Part 1


In this first article in a three-part series, Harish Kamath helps you download and configure the Apache Web server. If you've wanted to use PHP with Apache, that part of the setup is also covered. The article guides right from how to get off the locks, to compiling apache, discussing various configuration options, a quick overview of the httpd.conf file, and getting PHP 5.0.3 to work with Apache 2.0.51. This article is a good read for anyone looking at getting started with PHP 5 and Apache 2.

[Via international PHP Magazine]

PHP Speed Optimizations


Nathan Wong claims that single quotes are faster than double quotes in PHP.

In the recent blog post, he attempts to prove that PHP is able to parse and execute string constants faster if they use single quotes, than if double quotes are used. Benchmark results and source c...

[Via SitePoint's PHP Blog: Dynamically Typed]

2005-03-04

Netscape Browser 8.0 Beta Released

MozillaZine - Netscape Browser 8.0 Beta Released

Stephen Donner wrote in to tell us about the public release of Netscape Browser 8.0 Beta. Based on Mozilla Firefox 1.0, this beta of Netscape's newest browser offers support for both the Gecko and Internet Explorer rendering engines. A new Site Controls feature lets users enable and disable features like ActiveX, JavaScript and cookies on a site-by-site basis (the browser includes self-updating whitelists and blacklists of safe and dangerous sites). The new Multi-BarLive Content

Netscape released a prototype of a Firefox-based browser last November to a group of registered testers; an updated version was circulated in January. Netscape planned a public beta for February but bugs caused it to be delayed and the build was only made available to the previously registered testers.

Read the Netscape Browser 8.0 Beta Release Notes for a list of what doesn't work right yet and download Netscape Browser 8.0 Beta from the Netscape site. It's only available for Windows 98 Second Edition or above; there's no Mac or Linux versions. Feedback can be left in the Netscape Browser Review forums (requires an AOL/Netscape/CompuServe ScreenName)."
functionality lets users have more on-screen widgets than ever before, including like RSS feeds, weather forecasts and map searches.

2005-03-01

Hip Hip Hooray

The Apache Project Turns 10
The Apache Web Server Project is now 10 years old, as noted over the weekend by Roy Fielding, a co-founder of the open source development project. "Ten years ago today, the Apache Group decloaked with the creation of the new-httpd archive and initial accounts on hyperreal.org," Fielding noted on the apache-httpd-dev mailing list.

Apache hit another milestone earlier this month when our Web Server Survey found 40 million sites now running on the Apache server, which powers nearly 70 percent of web sites.

Apache was detected on 658 sites in the initial Netcraft survey in August 1995, just six months after the project's launch, when its 3.5 percent market share was dwarfed by software from NCSA (57 percent) and CERN (19.7 percent). The Apache server reached 10 million sites in June 2000, 20 million in November 2001 and 30 million in November 2003.

In an interview with Netcraft last year, Apache co-founder Brian Behlendorf assessed the remarkable growth. "I imagine most of the growth continues to be either with the small mom-n-pop companies, or web hosting ISPs, or internationally - all places where price sensitivity is high, where the economic downturn is still causing budgets to be hurt, and there's willingness to consider an Open Source approach to solving a given problem," said Behlendorf. "I imagine the rise of related Apache projects, like the continued rise in use of mod_perl and Tomcat and our friends over at PHP, have only increased the confidence in using the web server for mission-critical situations."

Netcraft - The Apache Project Turns 10

2005-02-26

IBM and Zend come together on PHP

IBM is putting its corporate heft behind a popular open-source Web development technology called PHP, in a move meant to reach out to a broader set of developers.
 

2005-02-25

Mozilla Firefox 1.0.1 Released

mozillaZine - Your Source for Daily Mozilla News and Advocacy:

Mozilla Firefox 1.0.1 has just been released. A minor update, this version fixes a few security holes and some other bugs. If you're using Firefox 1.0, you want this release. The Firefox Release Notes have also been updated and The Burning Edge has an unofficial Firefox 1.0.1 changelog. Download links can be found on the official Firefox product page. You can also check the full article for some BitTorrent links.

Update: We've been asked to point you towards bittorrent.mozilla.org for the BitTorrent links.

Another Update: At the demand of the Mozilla Foundation, we've removed the direct links to the Firefox 1.0.1 FTP directory. Go to www.mozilla.org/products/firefox/all.html to see all the builds. We understand using the download links on the mozilla.org site places less strain on the servers due to the mirroring configuration.

Full Article...

Mozilla Foundation reaches an agreement with AOL on DevEdge content

mozillaZine - Your Source for Daily Mozilla News and Advocacy:

The Mozilla Foundation has reached an agreement with America Online that allows them to host and improve the former Netscape DevEdge content.

Mitchell Baker has posted a blog entry stating that Deb Richardson will join Mozilla Foundation as a technical editor and project manager of DevMo. DevMo is the new community-based project focussed on developer documentation and resources."

Summary of Upcoming Mozilla Releases

mozillaZine - Your Source for Daily Mozilla News and Advocacy:

Several new Mozilla versions are scheduled for release soon, including updates to Mozilla Firefox, Mozilla Thunderbird and the Mozilla Application Suite. Yesterday, Asa Dotzler summarised the release plans in a newsgroup posting to netscape.public.seamonkey.

First off the blocks is likely to be Mozilla Firefox 1.0.1, which will come from the 1.7 branch. It will contain a variety of bug fixes and security updates but no new features. However, due to the nature of the fixes included, Firefox 1.0.1 will be an essential upgrade for all users of 1.0. We're expecting the release within hours but if you just can't wait, Firefox 1.0.1 release candidate builds are available.

Next up is likely to be Mozilla 1.8 Beta 1, coming straight from the trunk. A more cutting-edge release, 1.8b1 will be the first non-alpha version to feature the major internal changes that have been completed since 1.7 branched, including many substantial improvements to Gecko.

Mozilla Thunderbird 1.0.1 is set for the middle of next week. Like Firefox 1.0.1, this is a minor update but recommended for all 1.0 users.

Mozilla 1.7.6 is also due for release next week too but it's below Firefox 1.0.1 and Thunderbird 1.0.1 on the priority list. Another maintenance upgrade, 1.7.6 will contain many of the same fixes that will be in Firefox 1.0.1 and Thunderbird 1.0.1.

In around three weeks, the trunk will freeze for Mozilla 1.8 Beta 2, which is expected to be the final beta release of the 1.8 cycle. The Firefox 1.1 Developer Preview will be released off the trunk around this time. Following the release of 1.8b2, the trunk will stay frozen until the 1.8 branch is cut. This branch will be the basis of the final Firefox 1.1 and Thunderbird 1.1 versions, which are expected around the middle of this year. See our previous 1.8 release scheduling article for more details.

As always, anybody who sees an critical problem in an in an imminent release should contact drivers@mozilla.org.

Full Article...

2005-02-18

An Introduction to Code Access Security

Introduces a .NET Framework security system called Code Access Security (CAS), which helps centralize trust decisions.
 

An Extensive Examination of Data Structures Using C# 2.0

This is a six-part article series that focuses on important data structures and their use in application development. Scott Mitchell examines both built-in data structures present in the .NET Framework, as well as essential data structures we'll build ourselves.
 
Editor's Note: This six-part article series originally appeared on MSDN Online starting in November 2003. In January 2005 it was updated to take advantage of the new data structures and features available with the .NET Framework version 2.0, and C# 2.0. The original articles are still available at http://msdn.microsoft.com/vcsharp/default.aspx?pull=/library/en-us/dv_vstechart/html/datastructures_guide.asp.
An Extensive Examination of Data Structures Using C# 2.0, Part 1
Scott Mitchell examines two of the most commonly used data structures present in the .NET Framework: the Array and List.
 
An Extensive Examination of Data Structures Using C# 2.0, Part 2
Scott Mitchell delves into three of the most commonly studied data structures: the Queue, the Stack, and the Hashtable. He goes on to explain the pros and cons of each individual data structure.
 
An Extensive Examination of Data Structures Using C# 2.0, Part 3
Scott Mitchell looks at a common data structure that is not included in the .NET Framework Base Class Library, binary trees. A binary search tree, or BST, allows for a much more optimized search time than with unsorted arrays.
 
An Extensive Examination of Data Structures Using C# 2.0, Part 4
Scott Mitchell provides a quick examination of AVL trees and red-black trees, which are two different self-balancing binary search tree data structures. He also covers skip lists, an ingenious data structure that turns a linked list into a data structure that offers the same running time as the more complex self-balancing tree data structures.
 
An Extensive Examination of Data Structures Using C# 2.0, Part 5
Scott Mitchell espouses on graphs, a collection of nodes and edges with no rules dictating the connection among the nodes, and one of the most versatile data structures.
 
An Extensive Examination of Data Structures Using C# 2.0, Part 6
Scott Mitchell examines how to implement a common mathematical construct, the set, which is an unordered collection of unique items that can be enumerated and compared to other sets in a variety of ways.

Information Architecture as an Extension of Web Design

 
"While the article can be a little bit in-depth I highly recommend anyone who is a web designer read it as he makes some really good points here" - Nick Finck
 
 

Netscape 8.0 Pre Beta Released

Netscape today released a "Pre Beta" of its brand new Netscape 8 browser to their registered testers.  This was only hours after Netscape announced the delay of the official Beta until the end of February.
 
Netscape 8.0 will be based on Mozilla's Firefox and will also contain the Microsoft Internet Explorer rendering engine.
 
 

2005-02-16

Microsoft to release Internet Explorer 7

At the RSA Conference 2005, Bill Gates announced that Microsoft will release a new version of Internet Explorer.
Important to note is that it will only work on Windows XP with Service Pack 2 installed.
 
 "Browsing is definitely a point of vulnerability," Gates said.
 
Question is whether it will support standards like XHTML, W3C DOM, CSS2, CSS3, PNG, XForms?
 

2005-02-08

Colour Contrast Analyzer 0.9

The Colour Contrast Analyzer is a tool (freeware) for checking foreground and background color combinations to determine if they provide good color visibility. Determining "color visibility" is based on algorithms suggested by the World Wide Web Consortium (W3C).

JavaScript Triggers

“Despite this strict separation, the presentation and behavior layers need instructions from the structural layer. They must know where to add that nice touch of style, when to initiate that smooth bit of behavior. They need triggers.”
 
Now that you've separated your Web site's structure (XHTML) from its
presentation (CSS), wouldn't it be great to similarly abstract the
behavioral layer (JavaScript) from the others? Peter-Paul Koch shows
how to use JavaScript Triggers to do just that.

2005-02-03

Test Driven Development Using NUnit in C#

4GuysFromRolla.com - To aid with detecting bugs as early as possible, many companies are moving toward a development technique called Test Driven Development.  This article examines the basics of TDD and how to implement TDD using a free tool, NUnit.
 

2005-02-02

OSDL sets up Software Freedom Law Center

AP - Open Source Development Labs, a consortium of companies seeking to accelerate adoption of the Linux operating system, has contributed $4 million to set up a legal center for nonprofit open-source projects and developers.


Ziff Davis - The new Software Freedom Law Center—seeded by funding from the Open Source Development Labs—will offer asset stewardship, licensing, license defense and litigation support, legal support, and lawyer training.


Developer.com - The center, headed in part by Eben Moglen and Lawrence Lessig, will provide free legal
help to open source developers and projects.


Review: Take Your PHP Web Pages Pro with the Zend IDE

DevX.com - As Zend prepares to release version 4 of its PHP IDE, Zend Studio, we check in to see if this RAD tool is ready to meet the needs of serious enterprises that are building out their Web application infrastructure on the low-cost LAMP platform.
 

Google into Domain Names

Ziff Davis - The search company tackles another core technology of the Internet—domain names—as it becomes an official registrar. But for now, the company says it won't be selling registrations.

Mozilla Roadmap Update

NewsFactor - The Mozilla Foundation has unveiled at least part of what lies ahead for its popular browser, Firefox, as it moves into its second iteration.
 
MozillaZine - Ben Goodger has announced an updated roadmap for Firefox. The update calls for a Developer Preview (Alpha) in March, a Preview Release (Beta) in April and Firefox 1.1 final release in June 2005. See the Firefox 2.0 Roadmap itself for the full details.
 
Inside Forefox: More Detail on 1.1 Plan

Microsoft enters the "Search Engine Battle"

AFP - Microsoft launched its own Internet search engine "built from the ground up," entering a new market dominated by rivals Google and Yahoo.
 
NewsFactor - Microsoft's highly anticipated search engine debuted today, with the software giant officially entering the fray in a market that gets more competitive by the day.
 
PC World - After two years in development, redesigned search service is set to launch.
 
AP - Microsoft Corp. is formally launching its new Internet search engine, several months after it debuted in test form.
 
Reuters - Microsoft Corp. unveiled the full-release version of its search engine on Monday, turning up the heat on Web search leader Google Inc.
 
TechWeb - Microsoft launches its own Internet search engine and a multi-million-dollar marketing campaign meant to draw the attention of consumers away from its top rivals Yahoo and market leader Google.

2005-01-27

O'Reilly Publishing 'Firefox Hacks' and 'Don't Click on the Blue E!' in March

[Via mozillaZine]

Kam-Yung Soh wrote in to tell us that O'Reilly is publishing a book called Firefox Hacks in March. Aimed at power users, the book contains 100 tips and tricks for Mozilla Firefox. The book is written by Nigel McFarlane, author of Rapid Application Development with Mozilla and about half the Mozilla articles that have appeared on the Web in the last two years.

In addition, O'Reilly is publishing a book to help non-technical users switch to Firefox. Called Don't Click on the Blue E!, it also comes out in March.

2005-01-25

TopStyle Pro 3.11 Review

WebReference has a review about my favourite CSS editor: TopStyle Pro 3.11.
 
You can read the review here: Review: TopStyle Pro 3.11.
 
More information about this great CSS tool can be found at the creator's website: BradBury Software -> TopStyle Pro CSS / XHTML / HTML Editor 

2005-01-24

Configuring Apache


Addressing some of the more complex issues involved with configuring an Apache Web server

[Via php|architect - The Magazine for PHP Professionals]

PostgreSQL 8.0 Released


The first PostgreSQL release to natively run on Microsoft Windows as a server

[Via php|architect - The Magazine for PHP Professionals]

7 Steps to Better Security


How to create the most secure website

[Via php|architect - The Magazine for PHP Professionals]

2005-01-04

How to build a better web browser

Scott Berkun, former Internet Explorer program manager, wrote down his theory about how modern browser should be designed.
A very interesting essay if you're interested in the development of browsers and the browser-war.
 
Read the essay here: How to build a better web browser.