| Tips, Tricks, News and Reviews for Web Coders | |||||
In This Issue...
ektron |
|||||
|
JavaScript & CSS Blog: Stylish Scripting by Matthew Magain Help Create The Acid3 Test For JavaScript Compliance (No comments) |
![]()
HostMySite.com’s
ColdFusion hosting is trusted by many CF gurus: Forta, Corfield, Horwith,
Buntel... and possibly YOU! Starting at $19.95 per month,
HostMySite.com’s ColdFusion hosting plans give you the power of
ColdFusion 8 for an affordable price!
Click Here For: 2 FREE months, FREE setup, & a FREE domain name!
![]()
Open source enthusiasts were reeling this week when Sun Microsystems announced that it will be purchasing MySQL AB, the company behind the development of the popular MySQL database software, for US $1 billion.
The spin from both camps was positive, but what does the deal mean for web developers? And what impact is it likely to have on other open source projects?
To attempt to answer these questions, we need to look at a
number of factors, including Sun's history with open source technologies,
its competitors, and the success of other open source technologies that
have been commercialized.
While it's not without its detractors, there's no denying that Sun has a pretty solid history when it comes to involvement in the open source world. The company claims to be the biggest contributor to the open source community, a claim that, based upon its release of the Solaris source code in 2005, and the Java programming language in 2006, is difficult to refute.
But there is other evidence of Sun understanding the value of keeping software open source and free: projects like OpenOffice.org and NetBeans have healthy communities and promising road maps. In fact, if you examine Sun's current offerings to the corporate world, the only key component missing from the portfolio (and one that competitors such as Oracle, IBM, and Microsoft already offer) is a database. MySQL, with over 10 million installations worldwide (including high-traffic sites such as Google and Facebook) is a natural fit.
One concern that web developers may have is that the licensing terms will change -- what if Sun decides to start charging a licensing fee for each of the installations of MySQL?
In my opinion, this just won't happen, simply because Sun realizes that it hasn't bought a database -- it's bought a community. A community of employees, developers, and clients.
Related to this is the question of whether development of the cross-platform releases of MySQL will stagnate, with Sun's energy being focused on compatibility with the Solaris platform. Here's what MySQL's VP of Community Relations, Kaj Arnö, had to say on the matter:
"I don't expect (the development of MySQL on Solaris) in any way to be at the cost of other popular operating systems (Linux, Windows, Mac OS/X, other Unixes etc.) or development environments (PHP, Ruby on Rails, Perl, Python, ODBC, C++, C#, VB etc.). MySQL grew with LAMP, and MySQL without LAMP at its core is simply unimaginable. It was MySQL's part of LAMP that interested Sun in the first place. Hence I don't see Sun having a platform migration strategy, but to continue to be an integral part of the dot in .com."
In short, Sun understands the business model around open source software, and it wouldn't have invested $1 billion into a company only to screw over its users for a short-term profit when the long-term prospects -- driving MySQL into the corporate arena with paid support -- look so bright. There are plenty of other open source databases (PostgreSQL, for example) with comparable features and performance that customers would quickly migrate to if they were unhappy.
And as for the figure paid by Sun? While some would suggest the number was low given the size of the MySQL user base, $1 billion is a lot of money in anyone's eyes. Let's take a look at some other recent open source acquisitions [source]:
I'd say the MySQL team would be feeling pretty happy with themselves right now. Who said there was no money in open source software?
![]()
John Resig has posted a good summary (including demo code) explaining how one might write cross-site XMLHttpRequest calls, a feature currently implemented by the beta 2 release of Firefox 3:
"In a nutshell, there are two techniques that you can use to achieve your desired cross-site-request result: specifying a special access-control header for your content, or including an access-control processing instruction in your XML."
What's particularly exciting is the code that's required to take advantage of this feature. For example, to request an HTML file from a remote domain, you might do the following (you'll need to download Firefox 3 first, of course):
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() {
if ( xhr.readyState == 4 ) {
if ( xhr.status == 200 ) {
document.body.innerHTML = "And the winner is... "
+ xhr.responseText;
} else {
document.body.innerHTML = "ERROR";
}
}
};
xhr.open("GET", "http://sitepoint.com/example.php",
true);
xhr.send(null);
Does this look familiar? Aside from the inclusion of the domain in the
URL parameter of the open function, this code is
identical to the standard Ajax calls that you're probably already
making.
Of course, whether cross-site Ajax requests are a Bad Thing™ or not is a debate that will no doubt rage for years, until so many browsers support the functionality that it actually becomes useful. Once we reach that point, it's my bet that a whole world of new mashups, apps, and other services will open up (and, yes, people who don't understand cross-site Ajax will no doubt do stupid things with it, as they did when Ajax became the new hotness a couple of years ago).
Of course, this functionality is probably still a while away from being implemented across all browsers. But it's nice to know in advance that at least someone is putting effort into minimizing the effort required to implement the features of tomorrow.
Read the official documentation at the Mozilla Development Center for more information (and maybe check out the documentation for some of the other features to come while you’re there).
Read the blog entry:
|
JavaScript & CSS Blog: Stylish Scripting by Matthew Magain Cross-site Ajax in Firefox 3 (8 comments) |
![]()
That's all for this issue -- I hope you've enjoyed reading, and I welcome your feedback. Kevin will return to the helm in two weeks.
All the best,
Matthew Magain
techtimes@sitepoint.com
Managing Editor, sitepoint.com
![]()
![]()
People you care about can benefit from the wealth of information on new and maturing technologies available on the Internet. Help them learn how to do it by forwarding them this issue of the Tech Times!
Download free chapters from every SitePoint Book!
Deliver First Class Web Sites: 101
Essential Checklists
by Shirley Kaiser
Build Your Own AJAX Web Applications
by
Matthew Eernisse
HTML Utopia: Designing Without Tables Using CSS,
2E
by Rachel Andrew & Dan Shafer
The JavaScript Anthology: 101 Essential Tips,
Tricks & Hacks
by James Edwards & Cameron Adams
The CSS Anthology: 101 Essential Tips, Tricks
& Hacks
by Rachel Andrew
The Art and Science of JavaScript

By James Edwards
A fully accessible, first-person-perspective, 3D maze. Impossible? Not with CSS and JavaScript. In this awe-inspiring tutorial, James shows us how he created a Doom-style dungeon that could be explored by any web user.
![]()
8 Top Tips for Young Entrepreneurs

By
Akash Mehta
Young people with ambition strive to make their mark on the Web, but many great potential start-ups never take wing because of the challenges facing young entrepreneurs. Here, Akash outlines eight invaluable tips for young entrepreneurs.
![]()
Creating Web 2.0 Effects With Photoshop, Part 2

By
Corrie Haffly
Now that you've tried your hand with a few Web 2.0-style graphic techniques, it's time to build your design arsenal further. In this hands-on tutorial, Corrie explains the finer points of creating pop-out objects, fading images, and creating starbursts with Photoshop.
IE8
does NOT pass Acid2
in Web Page
Design
Sun
buys MySQL
in General
Chat
MacBook
Air
in Computer Hardware and
Software
NetworkSolutions
domain hostage
in Domain
Names
Framework
Performance
in
PHP
Manage Your Subscription Here.
You are currently subscribed as
to the HTML edition of the Tech Times.
CHANGE your email
address here
UNSUBSCRIBE from the Tech Times here.
SUBSCRIBE to the Tech
Times here.
SWAP to the
'Text-Only' version of the Tech Times here.
SitePoint Pty. Ltd.
48 Cambridge St
Collingwood, VIC
3066
AUSTRALIA
Thanks for reading!
Design, coding, community or marketing? Select the right newsletters right for your needs...