先创建网站还是在 Cakephp 上设置 Jquery?
我已经用管理员登录设置了 Cakephp,但我没有页面设计。
现在怎么办?
我的网站是由网页设计师设计的吗?或者这会与编写我的新 Jquery 代码的人发生冲突吗?
CSS 怎么样? Jquery 开发人员知道如何附加它们吗?
先有马还是先有车?哪些是马?
I have set up Cakephp with admin login, but I do not have a page design.
Now what?
Do I have the site designed by a web-designer, or will this conflict with the person that is writing my fresh Jquery code.
What about CSS? Is the Jquery developer going to know how to attach them?
What comes first, the horse or carriage? Which ones the horse?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
首先将网站构建为具有功能性的网站。然后实现js/jQuery来增强UI,这就是优雅降级的概念;该网站应该可以正常工作,尽管没有任何附加功能,也没有任何 JavaScript。 javascript 只是让它工作更容易、更流畅、更直观、更漂亮(理论上)。
如果它首先是按照标准构建的,那么 jQuery 人员就可以加入并使其变得更好。如果他们有一块空白画布,那么构建逻辑就太容易了,而没有 JS 就无法复制。
First build the site to be functional. Then implement js/jQuery to enhance the UI, this is the concept of graceful degradation; the site should work, albeit without the bells and whistles, without any javascript. The javascript just makes it work more easily, more fluidly, more intuitively and more prettily (in theory).
If it's built to standards in the first place, the jQuery guys can come in and make it better. If they have a blank canvas it's too easy to build in logic that can't be replicated without JS.
如果您甚至还没有页面设计,那么从实现角度讨论问题显然还为时过早。
我建议您首先对设计进行线框设计。 Balsamiq 是一个不错的选择,提供 30 天免费试用期和合理的费用(约 80 美元)。
传统上,线框交给设计师,设计师在 Photoshop 中布置内容,然后将其转换为 HTML/CSS(有些跳过 Photoshop)。一旦采用 HTML/CSS,您就可以让您的后端人员开始工作,您的前端人员(负责 jquery 的工作)也开始工作。
所以我想我建议你在担心 javascript 之前先获得一个非常充实的非功能性设计(线框或 Photoshop)。
+1 david thomas 也建议您专注于优雅的降级,这建议您应该在最后引入您的 jquery 人员来添加增强的修饰(但这不是功能的要求)。
If you don't even have a page design yet, then discussing things in terms of implementation is decidedly premature.
I'd recommend first that you wireframe your design. Balsamiq is a good option for that, with a 30 day free trial and a reasonable cost (~$80).
Traditionally, that wireframe goes to the designer, who lays things out in photoshop then turns it into HTML/CSS (some skip photoshop). Once it's in HTML/CSS, you have your backend guy go to work, and your frontend guy (who will do the jquery stuff) go to work.
So I guess I'd suggest you get a non-functional design (wireframe or photoshop) pretty well fleshed out before you worry about javascript.
+1 to david thomas too for recommending that you focus on graceful degradation, which would suggest that you should bring in your jquery guy towards the end to add the polish that enhances (but isn't a requirement for functionality).
先马后车。
我会首先设计 HTML/CSS(或雇用它),然后引入您的 jQuery 骑师。
Horse first then carriage.
I would design the HTML/CSS first (or hire it) and then bring in your jQuery jockey.