Archive | Coding RSS for this section

Flip 3D Sample Code

Kam says he’ll make example source available(for accessing the live preview windows used in Flip 3D, Alt-Tab and Taskbar Mouseover) when Vista Beta 2 ships.  Thanks Kam!

Web Design in a Browser (with Ajax)

Ajaxian and Valleywag are talking about the “Google is building a browser-based web page editor” rumor.  We (Homestead) delivered a browser-based (Ajax) web site design tool last year at Demo 05.  We call it SiteBuilder Lite.  SBL is compatible with our primary editing tool, SiteBuilder, and is usually a user’s first stop for customizing their site after selecting one of over 2000 professionaly-built QuickSite designs as a starting point.

As with SiteBuilder and the rest of our product line, we’ve been updating SiteBuilder Lite every month or two to keep it fresh and to give more value to our customers.  I’ll be interested to see what Google comes up with and whether or not they’ll be able to catch up to us.

Vista’s Live Previews of Open Windows(used in Flip 3d and Taskbar Mouseovers) ARE Accessible to Developers!!!!

This is great news! It means anyone can build really cool Flip 3d/Alt-tab replacements, etc. Kam VedBrat says:

We actually do have an API in Windows Vista that allows you to take the contents of one window and present them in another Window. This is what is used in the live previews that show up in the tooltips over taskbar buttons, and can be used by developers in their own creative ways.

So, Kam, thanks for the news! Now, can you post some sample C# that uses the previews to get us started? 🙂

Rewarding Open Source Developers – How can we help?

WebKit, an open source library built on top of KDE’s KHTML is the foundation for Apple’s Safari, their Dashboard and a bunch of other stuff. Less than a year after taking the project open source, Apple is giving MacBook Pros and a trip to AWWDC’06 to the top 12 project contributors. The announcement is here.

I did a few quick searches to see who else is doing this kind of thing (large companies rewarding open source dev) – it’s happened before, but not often enough. Sansblog talks about why that is (probably). It’s hard to reward a group of people without upsetting the people who were passed over.

tibike77 on slashdot reminds us that we can all reward the open source community through paypal donation links. We can also contribute to bounties to pay for work that hasn’t been completed, yet, as an incentive.  There is no good index of community funded bounties, but there is an index of company funded bounties here.

Ajaxian Podcasts, the Ajax Experience Conference

Just listened to Episode 13 and Episode 14 of the Ajaxian Podcast. Excellent.

In Ep 14, as usual, the guys did a great job of presenting the information in a concise, always-on-topic manner. I think it’s pretty clear that they have a detailed outline set up beforehand and they stick to it without sounding canned. They went over a ton of Ajax info but the standouts, for me, were DPolls(Ajax poll system with lots of features and effects), Dojo’s File Upload Widget, a warning that IE6 hacks might break in IE7, type-checking in JS and the impact on IDEs, and an IE library that allows for cross-browser “Canvas” functionality using VML (I LOVE CANVAS). They also discussed the frameworks and tools that they are partial to for their own web development work.

Also in Ep 14, they discussed the Ajax Experience conference they set up for May 10-12 in SF. Wow! They have a great lineup, a decent price ($1000), and they are keeping attendance small (500).

Ep 13, an interview with Patrick Lightbody of WebWork, was also great. Lots of info about WebWorks (including a mention of the Dojo/Webworks publish and subscribe technique), and the conversation at the end about Selenium was neat.  From the Selenium website:

Selenium is a test tool for web applications. Selenium tests run directly in a browser, just as real users do. And they run in Internet Explorer, Mozilla and Firefox on Windows, Linux, and Macintosh. No other test tool covers such a wide array of platforms.

  • Browser compatability testing. Test your application to see if it works correctly on different browsers and operating systems. The same script can run on any Selenium platform.
  • System functional testing. Create regression tests to verify application functionality and user acceptance.

Selenium uses a unique mechanism which allows it to run on so multiple platforms. Installed with your application webserver, Selenium automatically deploys its JavaScript automation engine — the Browser Bot — to your browser when you point it at the Selenium install point on your webserver. Thus, you must have write access to the machine your web application server is running on to install Selenium.

“Considering the simplicity of it, it is almost surprising that no one has thought of doing this previously. The framework is simple and the code is neat and very maintainable. Sometimes it takes a work of genius to find the uncomplicated solution to a potentially complicated problem.” – Antony Marcano

Selenium was developed by team of programmers and testers at ThoughtWorks (see below). It is open-source software and can be downloaded and used without charge. It is currently under active development by our team. Stay tuned for updates and further announcements.

ThoughtWorks is a leader in Agile development methods for enterprise software development. Selenium is designed specifically for the acceptance testing requirements of Agile teams. However, teams using more traditional development will also find it useful.