使用 ASP.NET MVC 的 iPhone 友好网站
有没有关于如何制作 iPhone 友好的 Web 应用程序的资源或指南?
具体就我而言,我想使用 ASP.NET MVC,但由于所有这些都在服务器上运行,我知道它会归结为仅标记/css/javascript 考虑因素。
编辑:因为我发现此处未提及的其他资源,我将更新问题文本:-)
Are there any resources or guidance out there on how to make iPhone friendly web applications?
In my case specifically, I'd like to use ASP.NET MVC, but since that all runs on the server, I know it'll boil down to just markup/css/javascript considerations.
edit: as I find other resources not mentioned here, I will update the question text :-)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
有一篇关于 Sitepoint 的 iPhone 文章(其中有用地显示了您可以了解如何仅针对 iPhone 定位样式表,同时对 Internet Explorer 隐藏它们 - Apple 的文档没有)。
Craig Hockenberry 在 A List Apart 撰写了将您的内容放入我的口袋。
一位 Flickr 开发人员发布了一些经验教训:http://code.flickr.com/blog/2008/10/27/lessons-learned-while-building-an-iphone-site/
+1,用于 Boot To The Head 提到的 Apple 文档——马嘴之类的:他们有关于简洁 CSS 属性的非常全面的东西,只有 Safari 才真正支持,比如 CSS 动画 和 CSS 转换。
There’s an iPhone article on Sitepoint (which usefully shows you how to target stylesheets at just the iPhone, whilst hiding them from Internet Explorer—Apple's documentation doesn't).
Craig Hockenberry wrote Put Your Content In My Pocket at A List Apart.
A Flickr developer posted some lessons learned: http://code.flickr.com/blog/2008/10/27/lessons-learned-while-building-an-iphone-site/
+1 for Apple’s documentation as mentioned by Boot To The Head—horses’ mouth and all that: they have pretty comprehensive stuff on neat CSS properties that are only really supported by Safari, like CSS animations and CSS Transitions.
Scot Hanselman 在 Mix 09 上做了精彩的演讲。请点击此处链接。
另请查看移动设备浏览器 File=>LINK。 它在 Codeplex 上是开源的。
“什么是移动设备浏览器定义文件?
移动设备浏览器定义文件包含各个移动设备和浏览器的功能定义。在运行时,ASP.NET 使用此 .browser 文件以及 HTTP 请求标头中的信息来确定发出请求的设备/浏览器类型以及该设备的功能。此信息通过 Request.Browser 属性向开发人员公开,并允许他们定制网页的呈现方式以适应该设备的功能。目标设备。” - Codeplex
Scot Hanselman had a great presentation at Mix 09. Click here link.
Also look at the Mobile Device Browser File=>LINK. It is open source at codeplex.
"What is the Mobile Device Browser Definition File?
The Mobile Device Browser Definition File contains capability definitions for individual mobile devices and browsers. At run time, ASP.NET uses this .browser file, along with the information in the HTTP request header, to determine what type of device/browser has made the request and what the capabilities of that device are. This information is exposed to the developer through the Request.Browser property and allows them to tailor the presentation of their web page to suit the capabilities of the target device." - Codeplex
权威资源是 Apple 的 Safari 开发中心。
The definitive resource is Apple's Safari Dev Center.