All WubHub Blogs
site.tips: Use WubHub to Bookmark Sites
01/06/06 09:48:00 AM Posted by acheyer |
To add the following bookmarklet to your browser's Favorites menu, copy the following URL:
When you click on the favorite, your current page will be sent to WubHub's bookmark() command.site.tips: Faster Command Entry
01/06/06 05:12:00 AM Posted by acheyer |
- Lose the quotes! Instead of a websearch distance("oakland", "san francisco"), you can also type distance(oakland, san francisco). You don't need the quotes unless you want to embed a "," in the argument, such as distance("oakland, ca", san francisco)
- Lose the parens! Some people like the faster ":" syntax, which saves one typed character. Instead of g("adam cheyer"), you type the equivalent g: adam cheyer.
- Short Aliases: If you type a long command requently, simply create a new function that is an alias to this longer function, perhaps with some default arguments. For example, alias "yahooLocal(searchTerm, location)" to be customized for you: yl(searchTerm) [set the default location to where you live].
site.tips: Keep an Activity Log
12/23/05 05:20:00 AM Posted by acheyer |
site.blog: JavaScript as an alternate to WebL
7/19/13 2:26 PM Posted by acheyer |
site.blog: Code Mirror Editor
7/19/13 2:20 PM Posted by acheyer |
site.blog: New Feature: Easier Blog Editing
8/5/06 12:41 AM Posted by acheyer |
Note: blog entries may now have an image. The image may be specified either as a URL to an image, or if you want to refine the size, an HTML string representing an <img> tag.
site.blog: New Feature: Caching page results
8/5/06 12:26 AM Posted by acheyer |
- Commands with checkbox "Cache results" will persist their results for each unique input they receive. If executed again with arguments it has seen before, the saved result is returned immediately rather than running the command. This caching is GLOBAL across all users, so use with care.
- If you fill out an "Expiration Date", cached results will expire.
- You may request that the system automatically refresh values at a certain rate (e.g. 1D = every day, 1H = every hour, or combinations such as "3W 2H"). The refresh threads run as as the "anonymous" user, so this will only work for functions accessible when you are logged out (e.g. in module "global").
- To clear the cache for a function, you can execute "clearCache(funcName)"
site.blog: New Feature: WubHub Groups!
8/4/06 8:50 PM Posted by acheyer |
- To create a new group, use "createGroup"
- To invite someone to a group you belong to, use "groupInvite(NameOfGroup,NumTokens)"
- To signup for a group that someone has invited you to join, use "groupSignup(NameOfGroup)"
- To see all groups registered in WubHub, use "groups"
- To see all members belonging to a group, use "groupMembers(NameOfGroup)"
Get involved! Start (or join) a Group!
site.blog: Alternatives to WebL
03/01/06 03:30:00 PM Posted by levy |
But don't let this stop you from writing new functions! Any new language support should be at least as powerful as WebL, and having more examples in WebL will help the process of evaluating what the new platform needs.
site.blog: Bookmarks and Bookmarklets
01/06/06 09:48:00 AM Posted by acheyer |
For a fast way to add your current webpage as a WubHub bookmark, add the following bookmarklet to your browser's Favorites menu by copying the following URL:
When you click on the favorite, your current page will be sent to WubHub's bookmark() command.site.blog: Command Syntaxes
01/06/06 05:12:00 AM Posted by acheyer |
- Instead of a parenthesis syntax
cmd(arg1, arg2)
, you can use a ':', as incmd: arg1, arg2
. Saves a character typed! - You can now pass functions to other functions. As an example, you can pass the results of chartDemo(demoNum), which returns a WebL object containing chart data, to the chart(data) function, using the call chart(chartDemo(3)). Functions with no arguments are distinguished from string arguments if they have "(" or a ":", as in
lsRender: ls()
. If you want to pass a string argument containing a ':' or paren, you must quote the string. - Write your own syntaxes: by editing the command cmdlineRewrite(cmdline), you have a hook to change whatever the user types into a valid WubHub command.
site.blog: Group Thoughts
12/24/05 04:12:00 PM Posted by acheyer |
site.blog: Activity Logs
12/23/05 05:20:00 AM Posted by acheyer |
-
View my log as an example: view(acheyer.activityLog)
See the aggregated logs for all developers: activityLogs
site.blog: WubHub Launch
12/22/05 09:15:00 PM Posted by acheyer |
ajaxGroup.groupBlog: Portlets Go Prime Time!
7/29/06 2:41 PM Posted by acheyer |
- site.newPortal(funcName): create a new Portal that will contain portlets
- site.addCmdToPortlet(portlet): a form for adding any wubhub command to portletData
- site.resetDefaultContent(portlet): overwrites portlet with contents from 'portlet'+"Default" function.
- siteutil.addCmdToPortalCmd: adds new content to portletData
- siteutil.portlet: Executes and renders all cmds in portletData
- siteutil.portalRenderDragableFrames: Render function using AJAX portlets
- siteutil.dragableFramesCSS: supporting style sheet
- siteutil.dragableFramesJS: supporting Javascript
ajaxGroup.groupBlog: Cross browser!
7/27/06 12:45 PM Posted by calo |
To do next:
- Implement a SAVE command to allow the positions to be recorded
- Implement a multi-column size window
ajaxGroup.groupBlog: Welcome to the ajaxGroup Blog!!!
7/21/06 4:17 AM Posted by acheyer |
To contribute to this blog, use the command addEntryToBlog(ajaxGroup.groupBlog).
I look forward to your contributions!
-- Adam.
global.quotes: "incredible potential"
7/20/06 7:38 PM Posted by acheyer |
From: Draconis Software Blog -- http://www.dracoware.com/blog/2006/06/29/wubhub-and-programming-the-web/