English 中文(简体)
Drawbacks of KSS [closed]
原标题:

Closed. This question needs to be more focused. It is not currently accepting answers.


Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 9 years ago.

Has anyone here used KSS?

KSS is an AJAX framework.

KSS has both a client-side Javascript library and server-side support.

The client-side Javascript library needs to be included in your page. It fetches Kinetic style sheets from the server, parses them and binds a set of action to browser events and/or page elements. It is clean Javascript code that can peacefully coexist with other clean Javascript librarys(sic) like JQuery or ExtJS. It is about 100k in production mode. You can integrate your own Javascript code by using its extension mechanism through plugins.

I m currently working on a project that uses it. Are there any drawbacks and gotchas to be aware of?

What s its cross browser support like?

At first as was really put off by the fact that you don t write the JS by hand, and actually translates a CSS-like file to JS behavior, but seeing in action, I ve got to say that it really works quite well. But I haven t done any cross browser tests yet.

问题回答

Some things that I ve found:

  • it sends HTML from the server, instead of XML and/or JSON and replacing them clientside, meaning higher messages (understandable)

  • it has problems with scripts that add iframes dynamically on a KSS widget that you reload

  • some things are hard to debug, while others are made easy thanks to KSS integration with Firebug





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签