任何PHP框架都可以匹配Ruby On Rails的设计清晰度吗? [英] can any PHP framework match Ruby On Rails clarity of design?

查看:64
本文介绍了任何PHP框架都可以匹配Ruby On Rails的设计清晰度吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我主要在PHP工作,但在我工作的网页设计公司,我们是想要切换到Ruby on Rails的b $ b。我们的首席设计师最近在客户的网站上安装了Typo,他惊讶地对我们说,

所有Ruby On Rails软件都有相同的目录布局?"这对他来说是个b
的启示。他习惯了PHP场景,其中多样性是

规则。


我已经做了一些谷歌搜索,我看到这个主题已经看到了一个

comp.lang.php上的公平谈话量。有人链接到这个

的PHP框架列表:

http://en.wikipedia.org/wiki/List_of...frameworks#PHP


非常全面,但是如何形象哪些是好的?
好​​吗?到目前为止我们已经测试了PHPCake,但是演示没有用,而且我们都不喜欢它。我们对Zend框架充满希望,但是没有机会对它做任何严肃的事情。


所有这些框架都是如此哪个好?并且他们中的任何人都有

脚手架像Ruby on Rails那样吗?

I work mostly in PHP, but at the web design firm where I work we are
thinking of switching to Ruby on Rails. Our lead designer recently
installed Typo on a client''s site and he said to us, with surprise,
"All Ruby On Rails software has the same directory layout?" That was a
revelation to him. He was used to the PHP scene, where diversity is the
rule.

I''ve done some google searches and I see that the subject has seen a
fair amount of conversation on comp.lang.php. Someone linked to this
list of PHP frameworks:

http://en.wikipedia.org/wiki/List_of...frameworks#PHP

Very comprehensive, but how does one figure out which ones are any
good? We have so far tested PHPCake, but the demo didn''t work and none
of us liked it. We''re feeling hopeful about the Zend Framework but
haven''t had a chance to do anything serious with it.

So of all these frameworks, which are any good? And do any of them have
"Scaffolding" like Ruby on Rails does?

推荐答案

lawrence k写道:
lawrence k wrote:

我主要使用PHP工作,但在我工作的网页设计公司,我们想要切换到Ruby on Rails。我们的首席设计师最近在客户的网站上安装了Typo,他惊讶地对我们说,

所有Ruby On Rails软件都有相同的目录布局?"这对他来说是个b
的启示。他已经习惯了PHP场景,其中的多样性是规则。


我已经做了一些谷歌搜索,我看到这个主题已经看到了一个

comp.lang.php上的公平谈话量。有人链接到这个

的PHP框架列表:

http://en.wikipedia.org/wiki/List_of...frameworks#PHP


非常全面,但是如何形象哪些是好的?
好​​吗?到目前为止我们已经测试了PHPCake,但是演示没有用,而且我们都不喜欢它。我们对Zend框架充满希望,但是没有机会对它做任何严肃的事情。


所有这些框架都是如此哪个好?并做其中任何一个

有脚手架像Ruby on Rails一样吗?
I work mostly in PHP, but at the web design firm where I work we are
thinking of switching to Ruby on Rails. Our lead designer recently
installed Typo on a client''s site and he said to us, with surprise,
"All Ruby On Rails software has the same directory layout?" That was a
revelation to him. He was used to the PHP scene, where diversity is
the rule.

I''ve done some google searches and I see that the subject has seen a
fair amount of conversation on comp.lang.php. Someone linked to this
list of PHP frameworks:

http://en.wikipedia.org/wiki/List_of...frameworks#PHP

Very comprehensive, but how does one figure out which ones are any
good? We have so far tested PHPCake, but the demo didn''t work and none
of us liked it. We''re feeling hopeful about the Zend Framework but
haven''t had a chance to do anything serious with it.

So of all these frameworks, which are any good? And do any of them
have "Scaffolding" like Ruby on Rails does?



codeigniter有scaffolding但是它是否像RoR我不知道,

从未使用它。我使用codigniter并且发现它很容易开始使用,并且文档非常好。

http://www.codeigniter.com/

-

Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com

codeigniter has "scaffolding" but whether it''s like RoR I don''t know,
never having used it. I use codigniter and have found it very easy to
start using and the documentation is very good.

http://www.codeigniter.com/

--
Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com


劳伦斯k:

" < lk ****** @ geocities.com写信息

news:11 ********************** @ h40g2000cwb .googlegr oups.com ...
lawrence k:
" <lk******@geocities.comwrote in message
news:11**********************@h40g2000cwb.googlegr oups.com...

>我主要在PHP工作,但在我工作的网页设计公司我们是

考虑切换到Ruby on Rails。我们的首席设计师最近在客户的网站上安装了Typo,他惊讶地对我们说,

所有Ruby On Rails软件都有相同的目录布局?"这对他来说是个b
的启示。他习惯了PHP场景,其中多样性是

规则。


我已经做了一些谷歌搜索,我看到这个主题已经看到了一个

comp.lang.php上的公平谈话量。有人链接到这个

的PHP框架列表:

http://en.wikipedia.org/wiki/List_of...frameworks#PHP


非常全面,但是如何形象哪些是好的?
好​​吗?到目前为止我们已经测试了PHPCake,但是演示没有用,而且我们都不喜欢它。我们对Zend框架充满希望,但是没有机会对它做任何严肃的事情。


所有这些框架都是如此哪个好?并且他们中的任何人都有

脚手架像Ruby on Rails那样吗?
>I work mostly in PHP, but at the web design firm where I work we are
thinking of switching to Ruby on Rails. Our lead designer recently
installed Typo on a client''s site and he said to us, with surprise,
"All Ruby On Rails software has the same directory layout?" That was a
revelation to him. He was used to the PHP scene, where diversity is the
rule.

I''ve done some google searches and I see that the subject has seen a
fair amount of conversation on comp.lang.php. Someone linked to this
list of PHP frameworks:

http://en.wikipedia.org/wiki/List_of...frameworks#PHP

Very comprehensive, but how does one figure out which ones are any
good? We have so far tested PHPCake, but the demo didn''t work and none
of us liked it. We''re feeling hopeful about the Zend Framework but
haven''t had a chance to do anything serious with it.

So of all these frameworks, which are any good? And do any of them have
"Scaffolding" like Ruby on Rails does?



你可能想查看这个网站: http://www.symfony-project.com 。我是b / b
通过非常广泛的教程24天内的askeet工作。并且

发现它是一次很棒的体验。这个

框架的一个突出特点是绝对优秀且广泛的文档。我自己的

经验是有限的,但对我来说,这个领域的许多框架似乎都落在了这个区域,而且只是努力提高生产力。


要回答有关脚手架的问题,请点击相关网址:
http://www.symfony-project.com/book/trunk/generator 。祝你好运找到

a富有成效和愉快的网页框架。


问候,

Ian

You might want to check out this site: http://www.symfony-project.com. I''m
working my way through the very extensive tutorial "askeet in 24 days" and
finding it a great experience. One of the stand-out features of this
framework is the absolutely excellent and extensive documentation. My own
experience is limited but for me a lot of frameworks seem to fall down in
this area and it just too hard a slog to become productive.

To answer your query about scaffolding, here is the relevant url:
http://www.symfony-project.com/book/trunk/generator. Good luck with finding
a productive and enjoyable web framework.

Regards,
Ian




lawrence k写道:

lawrence k wrote:

我主要在PHP工作,但在我工作的网页设计公司工作我们是否想要切换到Ruby on Rails上
。我们的首席设计师最近在客户的网站上安装了Typo,他惊讶地对我们说,

所有Ruby On Rails软件都有相同的目录布局?"这对他来说是个b
的启示。他习惯了PHP场景,其中多样性是

规则。
I work mostly in PHP, but at the web design firm where I work we are
thinking of switching to Ruby on Rails. Our lead designer recently
installed Typo on a client''s site and he said to us, with surprise,
"All Ruby On Rails software has the same directory layout?" That was a
revelation to him. He was used to the PHP scene, where diversity is the
rule.



作为一个后续问题,我可能会问是否有人知道设计师

的任何PHP框架经验。在我们的商店中,设计师

对Ruby On Rails有过积极的体验。他们已经有许多PHP软件项目的负面经验,比如Phorum和

phpBoard和一些eccomerce套件。


对PHP软件项目的批评往往包括两点:

1.)HTML包括表格


2.)模板系统很难理解。


使用Ruby On Rails,我听说我们的设计师说3个积极的事情

关于


1.)所有软件包都有相同的目录结构


2.)模板语言易于阅读和直观


3.)条件语句在模板中,因此设计师可以轻松找出影响部分渲染的条件。

其中,#3对我来说是最大的惊喜。我不认为设计师会好像看到有条件的陈述,但显然很享受它比他们喜欢的更多:


<?php include(

As a follow up question, I might ask whether any one knows of designer
experiences with any of the PHP frameworks. In our shop, the designers
have had a positive experience with Ruby On Rails. They''ve had negative
experiences with a number of PHP software projects, such as Phorum and
phpBoard and some eccomerce suites.

The criticism of the PHP software projects tends to include two points:
1.) either the HTML includes tables

2.) the template system is difficult to figure out.

With Ruby On Rails, I''ve heard our designers say 3 positive things
about:

1.) all software packages have the same directory structure

2.) The template language is easy to read and intuitive

3.) Conditional statements are in the template, so the designer can
easily figure out what conditions effect what partials get rendered.

Of these, #3 was the biggest surprise to me. I did not think designers
would enjoy seeing conditional statements, but apparently the enjoy it
much more than they enjoy this:

<?php include(


这篇关于任何PHP框架都可以匹配Ruby On Rails的设计清晰度吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆