SKITSANOS FOR RIA

Skitsanos

Wednesday, September 08, 2010

Open Source WYSIWYG HTML Editor Using jQuery UI

elRTE is an open-source WYSIWYG HTML-editor written in JavaScript using jQuery UI. It features rich text editing, options for changing its appearance, style and many more. You can use it in any commercial or non-commercial projects. elRTE has been tested in Firefox 3.5+, Internet Explorer 7 & 8, Safari 4, Opera 10 and Chrome.

elrte

Requirements: Firefox 3.5+, IE 7 & 8, Safari 4, Opera 10 and Chrome
Demo: http://elrte.org/demo
License: BSD License

Tuesday, September 07, 2010

An Infinite, Circular jQuery Carousel: carouFredSel

carouFredSel is a jQuery plugin that turns any kind of HTML element into an infinite, circular carousel. It supports pagination and can scroll one or multiple items simultaneously, horizontal or vertical, automatically, by pressing buttons or keys on the keyboard.

An Infinite, Circular jQuery Carousel

carouFredSel Feetures

  • Scrolls automatically and/or by user interaction
  • Built in keyboard-navigation and pagination
  • Dynamically add and remove items to/from the carousel
  • Compatible with most popular (jQuery) lightbox-plugins
  • Intelligent custom events and loads of options

Website: http://caroufredsel.frebsite.nl/

Saturday, August 14, 2010

The jQuery Project is Proud to Announce the jQuery Mobile Project

Source: jQuery UI Blog

Mobile web development is an emerging hot topic in the web development community. As such, the jQuery Team has been hard at work on determining the strategy and direction that the jQuery Project will take. Today, we are proud to announce the jQuery Mobile Project. We’ve launched a new site at jquerymobile.com that publicly outlines our strategy, research and UI designs.

As always, we want to hear from you.  We’ve created a new Mobile jQuery forum to collect feedback from the community.  Please feel free to join in on the discussion and read more in the announcement.

Saturday, July 31, 2010

DB2 Express-C database now 44% lighter

Source: DB2 Express-C Team Blog

The DB2 Express-C database server is downloaded worldwide, but broadband internet is not yet universal. Because of this, we are releasing a light version of DB2 Express-C 9.7.2 for Windows. It's an amazing 44% smaller than the full download.


Unlike the lighter download, the DB2 Express-C (full) includes the Control Center, Full Text Search, Configuration Assistant, and the First Steps wizard. It also has support for non-English languages in its user interface. However, if you don't need these features, you can grab the DB2 Express-C (light) for a quicker download and a simpler installation.

For example, if you are setting up a DB2 database on a Windows server that you plan to administer remotely with Data Studio, then the light version of DB2 Express-C is a great choice.
Download it now:


Administrative tools:
Free books: 

Thursday, July 29, 2010

Open Source Status Dashboard for APIs & SaaS Services

Stashboard is a status dashboard for APIs and software services. It’s similar to the Amazon AWS Status Page or the Google Apps Status Page. Stashboard was originally written by Twilio to provide status information on its Voice and SMS APIs. Stashboard is designed to provide a generic status dashboard for any hosted service or API. The code can be downloaded, customized, and run on any Google App Engine account.

You are able to Track multiple different API or SaaS services, Set custom status messages and icons such as Up/Down, Show historical status for each service, CNAME to http://status.yourapp.com. Stashboard is written in Python and hosted on Google App Engine.

statsboard

Download: Stashboard Website

Friday, July 02, 2010

Using SWFUpload on Vzaar API

One of the ways to upload files on Vzaar is to use SWFUpload library that you can find here. It allows you to upload files from the web page without actually leaving this page. In this article we will explain how to perform file uploading with use of library and PHP.

SWFUpload is a small JavaScript/Flash library to get the best of both worlds. It features the great upload capabilities of Flash and the accessibility and ease of HTML/CSS.

SWFUpload Features

  • Upload multiple files at once by ctrl/shift-selecting in dialog
  • Javascript callbacks on all events
  • Get file information before upload starts
  • Style upload elements with XHTML and css
  • Display information while files are uploading using HTML
  • No page reloads necessary
  • Works on all platforms/browsers that has Flash support.
  • Degrades gracefully to normal HTML upload form if Flash or javascript is unavailable
  • Control filesize before upload starts
  • Only display chosen filetypes in dialog
  • Queue uploads, remove/add files before starting upload

How To

To use SWFUpload you need to have couple of things done. First of all, please make sure you have latest API library files downloaded. You can grab them from here:http://code.google.com/p/vzaar/

For this example you will need SWFupload.swf and actual php script that we are going to review below.

The whole of actions is like this

  • Set Vzaar API credentials
  • Get Upload Signature
  • Define SWFUpload settings object
  • Initialize SWFUpload with settings defined
  • Upload

Let's review step by step all these actions:

Setting Vzaar API credentials

First of all, please make sure you have your API token generated, if you haven't done it yet, you can do it here: http://vzaar.com/settings/api - you need to be logged in to see that page. To set API credentials in your PHP code you need to have token and secret (which is your Vzaar username). So authentication bits will look like this:

PHP code:

require_once 'Vzaar.php'; Vzaar::$useSandbox = false;
Vzaar::$token = "API_TOKEN_GOES_HERE";
Vzaar::$secret = "YOUR_VZAAR_USERNAME";
Vzaar::$enableFlashSupport = true;

Get Upload Signature

To get a signature we need to perform a call getUploadSignature, but because we need it within JavaScript, let's mix it all together with converting signature object into JavaScript JSON representation:

JavaScript code:

<;script type="text/javascript"> var vzaar_signature = <?php echo(json_encode(Vzaar::getUploadSignature()));?>
</script>

Define SWFUpload settings object

The signature object we obtained with inline Vzaar::getUploadSignature() PHP call we can use now to set our SWFUpload settings object:
var settings = {
flash_url : "swfupload.swf",
upload_url: 'http://'+vzaar_signature["vzaar-api"].bucket+'.s3.amazonaws.com/',
post_params: {
"content-type" : "binary/octet-stream",
"acl" : vzaar_signature["vzaar-api"].acl,
"policy" : vzaar_signature["vzaar-api"].policy,
"AWSAccessKeyId" : vzaar_signature["vzaar-api"].accesskeyid,
"signature" : vzaar_signature["vzaar-api"].signature,
"success_action_status" : "201",
"key" : vzaar_signature["vzaar-api"].key
}

Complete code you can see here

Initialize SWFUpload with settings defined

Now all we need is to use our settings object when we initialize SWFUpload:

var swfu = new SWFUpload(settings);

Upload

So, when whole thin is set, all we need to do is wait for a user to click Browse button on SWFUpload and start uploading.

Please keep in mind that this example is only for uploading videos to a storage. To make your video visible within your dashboard you need to implement also video processing call.

When video get's uploaded as result you will have XML 'message' returned to you back, <key/> node of it will be a point of your interest because it will contain long string which looks somewhat like this:
vzaar/vzb/3cb/source/vzb3cb82a5c1c3410ea6c615edbf421d48/${filename}

To process video with Vzaar::processVideo API call you would need to have 4 parameters, like GUID (obtained after uploading file to a storage), title, description and ID for the video profile (aka quality). So to get a GUID from that long string we need a bit of JavaScript:

var arrKey = this.key.split('/'); var guid = arrKey[arrKey.length-2];

This will return you vzb3cb82a5c1c3410ea6c615edbf421d48 which is your GUID. Now you can call processVideo method.

Tuesday, June 29, 2010

Introducing IIS Express

Source: ScottGu’s Blog

Developers today build and test ASP.NET sites and applications using one of two web-servers:

  • The ASP.NET Development Server that comes built-into Visual Studio
  • The IIS Web Server that comes built-into Windows

Both of the above options have their pros and cons, and many ASP.NET developers have told us: “I wish I could have the ease of use of the ASP.NET Development Server, but still have all the power and features of IIS”.  Today I’m happy to announce a new, free option that we are enabling – IIS Express - that combines the best characteristics of both, and which will make it easier to build and run ASP.NET sites and applications.

IIS Express will work with VS 2010 and Visual Web Developer 2010 Express, will run on Windows XP and higher systems, does not require an administrator account, and does not require any code changes to use.  You will be able to take advantage of it with all types of ASP.NET applications, and it enables you to develop using a full IIS 7.x feature-set.

Read more at ScottGu’s Blog

Webware development dedicated blog by Skitsanos R&D Labs. ASP.NET, XML, RIA, Adobe Flex, ActionScript 3, AIR, AJAX, Web 2.0, Backbase, CGI development with RealBasic and other web development issues.
News
Downloads