« What do you want? | Main | Understanding Web Services »
August 20, 2003
Introducing Spengler, a XUL based web service inspector
One thing I started at Netscape was a XUL Web Service Inspector for the mozilla web services initiative. It allows you to "inspect" a web service via its WSDL file and generate testcases for mozilla accessing that webservice.
Note that you need the signed.applets.codebase_principal_support pref set to true (about:config is your friend) for now. Also, the .h view kinda broke :)
Spengler can be found here.
For example, choose the babel fish web service (http://www.xmethods.net/sd/2001/BabelFishService.wsdl). In the lower right side, the "Methods" panel will contain the method "BabelFish", as the webservice only has one method. Right click and select "Create Testcase". Enter say "en_fr" for translationmode and whatever you want to translate into sourcedata.
The code is ugly (went from a simple inspection to a test case generator, so lots of hacks), and will be rewritten as a mozdev project.
Posted by doron at August 20, 2003 08:57 AM
Comments
Why oh why must you taunt us with descriptions and no code!
Posted by: Eric Hodel at August 20, 2003 11:10 AM
http://www.nexgenmedia.net/spengler/tree.xul
bah :)
Posted by: Doron at August 20, 2003 11:57 AM
Whether native or not, this is obviously one of the first steps on your way to OS X. Keep in mind that often, the functionality of your code has a lot to do with how your interface is designed. How many developers have come up with great functional ideas from working with their interface or looking at their competitors'? Start working on your Aqua compliance from day one. Don't wait until the last minute.
Posted by: Cuthbert at January 25, 2004 11:39 AM
Adhere to System Appearance. Does your application use all the sweetly colored buttons, delightfully shaded windows, and all the other "bells and whistles?"
Posted by: Hugh at January 25, 2004 11:39 AM
By building an application that takes advantage of Aqua's many facets, you help ensure that your application will not only look good, but have a chance of becoming a raging success. After a new user clicks on the icon of your program, the first thing he or she sees is the application interface. I know that when I review a product, I am very critical of its visual design. I usually have a short time to learn the new software, so design and ease of use are very important. Aside from those who marvel at the beauty of the command line, most users tend to react the same way.
Posted by: Harman at January 25, 2004 11:39 AM
Clicking an application in the dock should always bring forward an active window. If the user clicks on an open app's icon in the Dock, the application is active and all unminimized windows come along with it. I have found a few problems with windows behaving independently of their application.
Posted by: Joos at January 25, 2004 11:39 AM
Whether native or not, this is obviously one of the first steps on your way to OS X. Keep in mind that often, the functionality of your code has a lot to do with how your interface is designed. How many developers have come up with great functional ideas from working with their interface or looking at their competitors'? Start working on your Aqua compliance from day one. Don't wait until the last minute.
Posted by: Manasses at January 25, 2004 11:39 AM
Adhere to System Appearance. Does your application use all the sweetly colored buttons, delightfully shaded windows, and all the other "bells and whistles?"
Posted by: Gregory at January 25, 2004 11:39 AM
For my Paint application, I created a series of icons to simulate a rendering algorithm. While the application is performing this CPU-intensive task, you can always see the status of the document by the icon changing in the Dock.
Posted by: Warham at January 25, 2004 11:39 AM
Drawers. Similar to Sheets, this is a "child" window that gives users access to items that do not always need to be present. But when do you use a drawer and when do you use a palette?
Posted by: Effemia at January 25, 2004 11:39 AM
Adhere to Window Models. Document windows, Utility windows, Click-through, Layering, Drawers, Controls. How do users open windows, how do you properly title windows?
Posted by: Dionise at January 25, 2004 11:39 AM
So far in these articles, I have only dipped a toe or two into Aqua's pool. I have covered basic aspects of building an Aqua-compliant application, including the building of photo-illustrative/3D application icons. Now it's time to address other components of our Mac OS X application.
Posted by: Giles at January 25, 2004 11:39 AM