6 ms·
To preempt a few questions that are bound to pop up: What about jQTouch? While jQTouch is a great framework and we're proud to have it as part of the jQuery co
by jeresig 16y ago
To preempt a few questions that are bound to pop up:
What about jQTouch? While jQTouch is a great framework and we're proud to have it as part of the jQuery community - we really wanted a mobile framework to exist that would truly support all the mobile platforms out there. We chatted with the jQTouch team and there wasn't really any interest on their end to head in that direction. It's obviously going to be a ton of work - but that's something that the jQuery project is very interested in tackling.
Is this a response to Sencha Touch? We've actually been working on jQuery mobile for a while now - long before Sencha Touch was released/announced. We're not particularly concerned with Sencha Touch mostly for the same reason that we're building an alternative to jQTouch: We want to support more platforms and do it in a completely seamless way.
What data did you use to choose the browsers that you did? We've been talking with a number of mobile analytics firms and large corporations, gathering data, and will be releasing a bunch of the reliable numbers that we've collected on the jQuery mobile blog. Right now we're confident in the browsers and versions that we've chosen - although that'll likely change over the next couple months as the market shifts.
- raganwald 16y agoWhile I laud your transparency, I lament the chilling effect this will have on existing libraries like JQTouch. jQuery Mobile isn't available today but this announcement will make a lot of people sit on their hands waiting to see how things play out in the hope that they won't invest in a dead-end platform. Oh well, not saying you shouldn't have chosen this path, just pointing out the consequences...
- jeresig 16y agojQTouch has been out for a couple years at this point - a two month "chill" period before release seems totally appropriate. Honestly, I don't see the "chill" as being a bad thing in this regard: jQTouch and Sencha Touch are doing mobile web development a great disservice by only supporting the latest-and-greatest WebKit platforms. If we can get developers to actually think about supporting more of the mobile platforms that are actually used then I will consider the project to be a victory. I discuss this much more in our strategy outline: http://jquerymobile.com/strategy/ http://jquerymobile.com/strategy/
- dcurtis 16y ago"jQTouch and Sencha Touch are doing mobile web development a great disservice by only supporting the latest-and-greatest WebKit platforms." How is focusing on the future doing a disservice to anyone? We're at the very beginning of the mobile-optimized web, and the future is still unclear. There's still room to define it. Supporting the equivalent of IE6 on mobile devices seems like a waste of time to me, especially after we've just spent a decade watching the evolution of the desktop web be stunted by obsessive focus on backwards/cross compatibility. Also, nearly all major device manufacturers have committed to using WebKit. In five years, how many mobile devices will not run WebKit? If Windows Phone 7 isn't dead by then, it might be the only one.
- _neil 16y agoCompetition is a good thing. Choice is cool.
- mrkurt 16y agoI don't really relish a future where one browser engine dominates the way IE has in the past. I fully expect and hope for more viable mobile engines. Even still, jQtouch (at least, I haven't messed with the Sencha thing) is very iDevice slanted. There's "webkit" and then there's "webkit on iOS", and most tools are targeted specifically at "webkit on iOS".
- dcurtis 16y agoThe thing the differentiates WebKit from IE in a good way is that it's completely open source and it's used and built by several competing companies working together toward a common goal.
- mrkurt 16y agoIt's also behind both IE and Firefox in various ways. You're right that it would be a better dominant engine than IE was, but it's still not as good as having a nice three way competition for browser share.
- deleted 16y ago[deleted]
- voidfiles 16y agoBesides what jresig has already said, it's okay for there to be many answers to the same question. It's just like having two open source rendering engines, at least, Mozilla, and Webkit, that don't cannibalize one another. I don't think two approaches to mobile using jQuery will cannibalize one another.
- raganwald 16y agoI did not say that there shouldn't be multiple answers to the question, however if you're starting a new project today, you don't have a choice between A and B, you have a choice between something here today and something else promised Real Soon Now. Naturally, the one promised Real Soon Now is extremely shiny, it supports every browser, and it hasn't made any compromises to do so. This kind of situation forces people to sit on their hands, which means that development stalls for a while. I won't go any further because I'm fighting the urge to compare this to things that have happened in other marketplaces, and I greatly respect John's code and design taste.
- detst 16y agoI made the point in another comment but, in the case of jQTouch, I would like to see some evidence of any real development to be stalled. It seems they've transfered focus to Sencha Touch. As for that, it's a commercial product; if anything, this announcement should accelerate their development.
- raganwald 16y agoAh, I see the misunderstanding. I don't mean that it stalls framework development, I mean it stalls projects. If I'm starting a new project today for a mobile app, do I go with jQTouch today? Or do I wait and see how jQuery Mobile goes? This happens all the time in the industry. Familiarity breeds contempt, so it's easy to make a list of problems with jQTouch. But whatever is announced but not shipping has no bugs. It has no performance trade-offs. It is effortlessly compatible with mobile devices back to the Radio Telephones of the 1970s. And its programming model is intuitive, flexible, and powerful with no learning curve. How can you resist waiting? What project is so urgent that you take a chance targeting jQTouch when it will obviously be made extinct by jQUery Mobile? So an announcement has a chilling effect on framework use, that's what I meant. Alas, no way around it, you can't drum up support for it without perturbing the environment a little.
- detst 16y agoSince the first commit of jQTouch on GitHub in June, there doesn't seem to be much going on and every commit has come from one person. So I don't think you have to worry too much about that. I wanted to like it but there just didn't seem to be much going on over there. Now that it's part of "Sencha Labs", it seems the focus is now over on Sencha Touch. While, Sencha Touch is definitely interesting, they still don't appear to have announced pricing. Based on how they license and price their other products, I don't think I'm going to like it. This announcement is awesome and makes me giddy. There really aren't any good options out there for mobile websites. You basically have to roll your own so this is great news.
- Encosia 16y agojQTouch has a great looking website/demo and was very exciting a year or so ago, but I'll be happy to see a robust alternative. After having used jQTouch to implement iPhone-specific views for a couple sites, I won't use it again. jQTouch could have preempted the possibility of jQuery Mobile being viable in the first place, but it stagnated instead. The jQuery team can't be blamed for that.
- toddheasley 16y agoI'm guessing that jQTouch maybe never had any ambition to address the need that jQuery Mobile is hoping to address. It was clever, and it was first. Credit where due. But it was always a toy. Modern mobile JavaScript frameworks can't ignore the need for a true touch event model. Thank god John and his team are writing one, because (1) we pretty much know it will be good and (2) I sure as he'll wasn't going to write one.
- toddheasley 16y agoIs anybody using jQTouch now (before this announcement)?
- raganwald 16y agoYes. "Wood & Stones" is a "Goban" for playing Go face to face with a friend on an iPad: http://github.com/raganwald/wood_and_stones http://github.com/raganwald/wood_and_stones I'm not even a novice player, so in addition to supporting Classic Go, Wood & Stones supports a number of Go variations that offer some learning benefit. You can try it on Github Pages: http://raganwald.github.com/wood_and_stones http://raganwald.github.com/wood_and_stones It's based on jQuery, jQTouch, iGesture, and JQuery Combinators.
- ninifat 16y agoTo my knowledge jQTouch requires jQuery, which has a annoying loading lag.
- JunkDNA 16y agoThis is the reason I like to use jQuery: I would never have time to take on all the headaches with supporting some of these platforms. I use jQuery so I don't have to worry about all that stuff and I can get my work done.
- mmullany 16y agoHi John. I work at Sencha. We haven't spoken yet, but I think I have to respond to the "disservice" comment because frankly it seems a little uncharitable (and uncharacteristic of your usual even-handed demeanor) given that Sencha is promoting jQuery use by funding Jonathan Stark's work on jQTouch including work to port jQTouch to Android. We intend to continue to fund jQTouch work because we want to support all those developers (thousands at least) that have chosen jQTouch (and jQuery) as their platform. We will continue to support jQTouch ports to more phones and more browsers as additional browsers and platforms emerge (like the Blackberry Torch) that can support a minimal rich application experience. As you've noted in the past, Sencha Touch takes a different approach than what you're planning to do with jQuery Mobile. It's ok to differ, but we wouldn't characterize it as a "disservice". Our belief (right or wrong) is that few people will use applications (and I emphasize that word) unless they can produce experiences that can compete with native. We've had ten years of mobile web sites with static, unresponsive, high latency user experiences that haven't interested or excited people. We want to move on from that. Today, iOS, Android and the Blackberry Torch can support web apps that compete with native experiences (woohoo!), but by the end of the year, we'll see phones from Nokia (and more from RIM and maybe even some from Microsoft) with good HTML5/CSS3 support and fast processors and GPU's that allow everyone to have rich app experiences regardless of their choice of carrier or their geography. With the rise of $30 HTML5 Android phones from China, we see this as inexorable. Our two projects are making different assumptions about what will most interest (and excite) end-users. I hope we can maintain an engaged (and polite) discussion as we walk these paths. Feel free to email me, would love to chat more to provide more context around our decisions. We'll also put together a blog post soon on why we're doing what we are. Look forward to hearing from you. -- michael