I am choosing a template library for my jQuery Mobile project. I wonder if jqm uses any template library internally, since it uses requireJS for AMD I figured it might use an off-the-shelf library for templates.
I did not find any in the source code, but want to confirm with SO.
If it doesn't, do you have a recommendation for a template library that works well with jqm (I know it is an open-ended question).
No, there is no template engine behind jQuery mobile.
No. jQuery Mobile does not include any template library. You are free to choose the ones you like. There are many good templating libraries like mustache.js, dust.js, handlebar.js etc.
Related
I'm working on a UI application with asp.net mvc. I'm currently using bootstarp.
As i'm still learning about it, i'm confused about where to find the needed components. I used to work with kendo UI where all widgets and api are in the same place.
But now when I need some new functionality or widget (such as datepicker), I find that there are a lot of alternatives and plugins to be installed to choose from..
How should I choose, is there a bootstarp library that I can integrate and which will provide most of what I would need?
As far as I know, there is no package of widgets similar to jquery.ui. But some often used features like popovers and modals are already included in the bootstrap.js.
We are using bootstrap-datepicker by Stefan Petre and Andrew Rowls, which you can install using NuGet.
$('#datePickerId').datepicker();
I'm wondering,
In definition Rikulo
Rikulo is a free and open source Dart framework for creating incredible cross-platform web and native mobile applications using HTML5.
But why the web is built by JQuery not itself?
Is that Rikulo is to young yet so it builts with JQuery?
BTW, the "compiler" Dart Editor use a lot of RAM ~500M it cost a lot!!!
Rikulo is written in Dart, not JS, so jQuery is not applicable here. IMO, Dart's API covers well what jQuery provides, though Dart is young and not as stable as jQuery yet.
I'm developing J2ME. Is it possible using Jquery Mobile for web app in J2ME?
Reviewed according to jquery mobile web support, unwritten for J2ME.
Thanks Advance :)
Absolutely not, there is no way to run JavaScript in a J2ME app.
I found this scriptme project, but have never used it.
http://code.google.com/p/scriptme/
According to the site: "ScriptME is an open-source implementation of EcmaScript based on FESI Project written entirely in Java for the J2ME Platform. It is typically embedded into Java applications to provide scripting to end users."
There is also the minijoe, which I also did not use...
http://code.google.com/p/minijoe/
"MiniJoe is a "Minimal Javascript Object Environment" that is based on MIDP. MiniJoe consists of a Javascript compiler and interpreter. Both components are written in Java suitable for CLDC 1.1 devices."
As part of the next project I'm working on, the customer has asked for a user-customisable dashboard-style web page where they can place multiple different chart controls populated with various bits of data.
There are tons of libraries out there that allow you to do this kind of thing but most do not support IE6. (it's out of my hands, we have to target IE6. I know, pity me)
I've had great difficulty finding any appropriate 3rd party control libraries that will work on IE6 and are still supported so any recommendations would be welcome.
The rest of this app is ASP.NET (3.5) but we are wanting to make the dashboard section MVC so either native ASP.NET or MVC components would be fine but MVC would be preferable.
jqChart supports IE6. It has version for ASP.NET MVC - http://www.jqchart.com/SamplesAspNetMVC
By far the best IE6-compatible library for charts is Raphael and its sister library g.Raphael. The main library is a general graphics library; the sister lib is for graphs and charts.
Hope that helps.
The ASP.NET team released the script combining feature in 3.5 SP1 as detailed here http://www.asp.net/Learn/3.5-SP1/video-296.aspx. Is there a similar feature already for the MVC framework? If not, is this in scope or is it possible to somehow leverage the webforms capability in MVC? I see this site uses a custom jquery.package.master which, I assume, they have rolled themselves (maybe into the build cycle, however it is not all minified therefore I think they have manually appended the scripts together rather than some automated minify & combine task). Would be interested in any ideas how to accomplish this in MVC but I dont want to begin rolling any of my own functionality in case I will be duplicating work in progress.
Here's what I do, in case it's helpful.
In my postbuild I call a command line version of Dean Edwards's Packer. It combines the scripts and packs them for me.
For now though, I keep all of my stuff seperate and use a Helper method to include my scripts, and if the debug flag is not present it will include the packed versions, otherwise it includes the unpacked.
Another option is in the Telerik Native UI Extensions for MVC (free library and open source), called ScriptRegistar. It will combine and compress javascript for you, and is fairly feature rich. There is also a class for doing the same to css as well.
I am using this to combine +20 javascript files into one file which is downloaded by the browser.
http://www.telerik.com/products/aspnet-mvc.aspx and you can get it via NuGet.
Every day there is a different way of doing things and the techniques changes.
At this time there is a very good Nuget Package released in CodePlex.
Combres - WebForm & MVC Client-side Resource Combine Library
http://combres.codeplex.com/
http://weblogs.asp.net/gunnarpeipman/archive/2009/07/04/asp-net-mvc-how-to-combine-scripts-and-other-resources.aspx