简体   繁体   English

对大型网站使用jQTouch

[英]using jQTouch for large website

  • I want to use jQTouch to build iPhone app for large website. 我想使用jQTouch为大型网站构建iPhone应用程序。 When searched for it, I understood that I must edit my HTML code for website to be Suitable to my app, how I can do this without conflict with the style for my website? 在搜索时,我了解到必须编辑网站的HTML代码以使其适合我的应用程序,如何在不与网站样式冲突的情况下做到这一点?

  • Also, what is the basic steps to using jQTouch ? 另外,使用jQTouch的基本步骤是什么? just Add scripts and Initialize as here : http://code.google.com/p/jqtouch/wiki/GettingStarted . 只需添加脚本并按此处进行初始化即可: http : //code.google.com/p/jqtouch/wiki/GettingStarted

help me with many thanks. 非常感谢我。

Unless you are extremely lucky, you won't be able to use the same markup for both your normal and jqTouch sites. 除非您非常幸运,否则您将无法在普通网站和jqTouch网站上使用相同的标记。 Your site is likely not a single page application based off of hashed urls. 您的网站可能不是基于散列网址的单个页面应用程序。

To get started using jqTouch I'd suggest loading up the demo and editing things in and out of the demo. 为了开始使用jqTouch,我建议您加载演示并在演示中进行编辑。 That will give you the best jump-start into how everything works. 这将为您提供一切正常工作的最佳入门。

一个不错的主意是检测iPhone服务器端,然后发送包含所有jQTouch优点并排除原始样式的不同HTML。

What Jakub suggests is the best answer for you without getting into making an iPhone App. Jakub的建议是您无需制作iPhone应用程序的最佳答案。 But from experience I also suggest you think about the nature of your application. 但是根据经验,我还建议您考虑一下应用程序的性质。 Basically decide whether your service is something that mentally as soon as the user thinks about it makes them want to open safari. 基本上,只要用户考虑了一下,就决定您的服务是否在脑海中使他们想打开野生动物园。

If not I would suggest you need to consider making a proper app rather than a jQtouch enabled website. 如果不是,我建议您需要考虑制作一个合适的应用程序,而不是一个启用jQtouch的网站。

This is mainly because people always prefer the short way to achieve tasks. 这主要是因为人们总是喜欢用简短的方式完成任务。

And if you have competitors they will just simply make an app after you release and steal your customers. 而且,如果您有竞争对手,他们将在发布并窃取客户后仅制作一个应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM