分享

Ajax - SWiK(1)

 weicat 2006-02-21

sorted by: Popular
Tagged Ajax and component:

Tiny MCE: WYSIWYG Editor

Tiny MCE (Moxiecode Content Editor) 2.x has been released.

TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances. TinyMCE is very easy to integrate into other CMS systems.

There are many forms of the editor that you can choose:

Tiny MCE

Ajax: Ajaxian

Ajax Component Dec 20 … +

Tacos

Tacos provides a component repository for the Tapestry Web application development framework.

Java web framework component repository tapestry ajax dojo hivemind component-repository   Dec 19 … +.

Google Password Strength Feedback

We often talk about one of the un-sexy core advantages of Ajax is the ability to do validation where you want it (right where the user is working) but validated securely on the server-side.

As we do this, we can offer interesting feedback to the user as they enter in the form data.

When you create an account at Google, they let you know how strong the password is as you type it. From too short, to weak, to fair, to strong.

google-password-strength

Ajax: Ajaxian

Ajax Component Dec 09 … +

Live Upload Progress Widget

Sean Treadway has a cool live upload progress demo.

The example is implemented on Ruby on Rails.

upload-widget

Ajax: Ajaxian

Ajax Component Dec 09 … +

Ajax Contact Form

Dustin Diaz has put together an Ajax Contact Form.

This simple little puppy will send off the email in the background via Ajax, keeping you up-to date on progress with indicators.

View a live demo

ajax-contact-form

Ajax: Ajaxian

Ajax Component Nov 08 … +

Dojo Rich WYSIWYG Editor

Paul Sowden and David Schontzler of the Dojo Toolkit have created a killer rich text WYSIWYG editor component that works cross browser (even Safari).

You will see that they didn‘t whip together something on the quick, and spent time thinking about how to do WYSIWTG right.

Introduction

Rich text (WYSIWYG) editing on the web is a difficult problem. Browser-based rich text editors to date have failed to meet users stability expectations or in other ways subtly break the seamlessness of the editing experience.

JotSpot has been a key sponsor of Dojo and as the first Wiki to provide usable WYSIWYG, Jot‘s WYSIWYG editor is a critical part of the Wiki experience. While WYSIWYG is a clear advantage, it can be quickly undermined if niggling interaction problems or crashes make users distrustful or hesitant. Trust is earned slowly, but can be destroyed in the blink of an eye.

Testing showed almost every in-browser editor breaks user expectations or makes editing unstable. Of course it‘s not intentional. WYSIWYG on the web is a hard problem, and providing features cross-browser is a difficult feat. We‘ve all struggled against unhelpful APIs, lousy documentation, and a never-ending maze of bugs and feature requests. Amidst the frustration it‘s easy to forget that while it is possible to add a feature, endangering a solid experience is never worth it. What use is an editor if "undo" doesn‘t work? Do the semantics of an editor‘s output matter if it crashes?

A new editor that adhered to strict user-experience and reliability principles was needed. The results are the Dojo Rich Text, Toolbar, and Editor controls. JotSpot has generously made this work Open Source Software under the same liberal license as Dojo.

Core Principles of the editor

  • Do not break undo (Ctrl-Z works when possible)
  • Provide WYSIWYG, not source editing
  • Data Loss Is Unacceptable

Using the editor

The use of the editor follows the attribute markup philosphy.

To get the editor in your page, use the magic dojo class:

<div class="dojo-Editor">
some content
</div>

and then script src the dojo library of course.

There are also many more advanced features explained in the article including:

Demo

There is also a demo of the editor widget for you to play with.

dojo-rich-editor

Ajax: Ajaxian

Ajax Component Nov 07 … +

Rails Slider Component

Thomas Fuchs is working on a nice shiny slider component.

How do you work with it?

<%= slider_field :blub, :amount %>

rails-slider-component

Ajax: Ajaxian

Ajax Component Nov 01 … +

SilverStripe Tree Control

Sam Minnee has put out an "Unobtrusive JavaScript" Tree Control for download.

Why another tree control?

There are a lot of tree controls out there, but most of them are tacky, heavyweight relics of the "DHTML" era.  I felt it was time for a change.  In particular, I wanted to adopt "unobtrusive javascript" techniques.  Among other things, the script has these notable features:

  • All of the styling is in a seperate CSS file.  The only thing that the JavaScript manipulates is class names.   This gives you a lot of control over the design relatively easily.
  • There is a no "set up code".  The script searches for <ul class="tree"> and applies its magic to that.
  • All of the content as loaded in a set of nested <ul>s - the simplest, code that I could think of that was semantically linked to heirachical data.

silverstripe tree

Are we seeing an increase in unorbtrusive javascript controls?

( via Ben Nolan )

Ajax: Ajaxian

Ajax Component Oct 31 … +

Dojo gets new widgets: Tree and FishEye

First, we hear about Tacos building Dojo-based widgets, and now we hear more.

Widgets are getting donated left right and center to the Dojo project.

Fish Eye Widget

Cal Henderson of Yahoo/Flickr gave up a fish eye list widget

dojo fisheye


Tree Widget

The open source Java web framework WebWork just donated a nice tree widget.

dojo-tree.png

There will be more widgets coming from the WebWork team.

Ajax: Ajaxian

Ajax Component Oct 20 … +

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多