什么是开发PHP应用程序的最佳方式? [英] what's the best way to develop PHP apps ?
问题描述
我是PHP的新手,我已经学会了语言的基础知识并构建了一些小应用程序来实践。
我有一个关键困境,很快,我可能开始开发
真实世界的应用程序,完全工作的网站支付
客户。
我有这样做的两个选项:使用普通PHP编写所有内容,或者使用一些PHP框架编写
。
我不想选择一些东西并意识到另一个是
batter。
我希望习惯这两种编程技巧中的一种,并且坚持
,以后再也没有遗憾。
请尽量在这里帮助我,我在网上搜索了3天但是不能确定
找到一个不错的答案,许多程序员开始普通的PHP然后
想尝试一些框架,但意识到改变所有应用程序
他们一直在构建将是一个痛苦 - 所以他们坚持使用
普通的PHP,也许是一些模板引擎[ie-Smarty]。那不是我的b / b
情况,因为我是这个语言的新手,我真的很想在开头做最好的动作。
祝你有个美好的一天;-)
I''m new to PHP, I already learned the basics of the language and built
some little app''s for practice.
I have a critical dilemma, soon enough, I probably start to develop
real-world applications, fully working web-sites for paying
costumers.
I have 2 options for doing this: writing everything with plain PHP, or
using some PHP framework.
I don''t want to choose something and the realize that the other is
batter.
I want to get used for one of this 2 programming techniques and stick
with it with no regrets in the future.
please try to help me here, I''m searching the web for 3 days but can''t
find a decent answer, many programmers started with plain PHP then
wanted to try some framework but realized that changing all the apps
they have been building would be a pain -so they stick with the
plain php and maybe some template engine [ie- Smarty]. thats not my
situation because I''m new to the language, I really want to do the
best move at the beginning.
Have a good day ;-)
推荐答案
2007年7月16日星期一21:03:37 +0200, Michael< xm ******** @ gmail.comwrote:
On Mon, 16 Jul 2007 21:03:37 +0200, Michael <xm********@gmail.comwrote:
我是PHP的新手,我已经学习了语言的基础知识和内置
一些小应用程序用于练习。
我有一个严重的困境,很快,我可能开始开发
real-世界应用程序,完全工作的网站支付
客户。
我有2个选项可以做到这一点:使用普通PHP编写所有内容,或者
使用一些PHP框架。
我不想选择一些东西并且意识到另一个是
batter。
我想要习惯于这2种编程技巧中的一种并坚持使用它并且没有遗憾未来。
请尽量在这里帮助我,我在网上搜索了3天但是不能确定
找到一个不错的答案,许多程序员开始使用普通的PHP然后
想尝试一些框架,但意识到改变所有应用程序
他们一直在构建将是一个痛苦 - 所以他们坚持
普通的php和一些模板引擎[ie-Smarty]。那不是我的b / b
情况,因为我是这个语言的新手,我真的很想在开始时做最好的b / b
。
I''m new to PHP, I already learned the basics of the language and built
some little app''s for practice.
I have a critical dilemma, soon enough, I probably start to develop
real-world applications, fully working web-sites for paying
costumers.
I have 2 options for doing this: writing everything with plain PHP, or
using some PHP framework.
I don''t want to choose something and the realize that the other is
batter.
I want to get used for one of this 2 programming techniques and stick
with it with no regrets in the future.
please try to help me here, I''m searching the web for 3 days but can''t
find a decent answer, many programmers started with plain PHP then
wanted to try some framework but realized that changing all the apps
they have been building would be a pain -so they stick with the
plain php and maybe some template engine [ie- Smarty]. thats not my
situation because I''m new to the language, I really want to do the
best move at the beginning.
没有单一的答案,一切都取决于你究竟是在做什么。如果你是一个先发制人,那么你的项目将不会发生变化,而且开始时这些项目将变得非常复杂。在这些情况下,使用
框架通常是矫枉过正的,并且使用
''普通''PHP编码可以更好地服务该项目。稍后更大的项目可能会从
框架中受益,当然,如果涉及的编码器超过一个,但是完全依赖于项目本身的是b $ b。 br />
-
Rik Wasmus
There''s no single answer, all depends on what it is exactly that you''re
making. If you''re a starter, changes are your projects aren''t going to be
that big and complicated in the beginning. In those cases, using a
framework is usually overkill, and the project is better served with
''plain'' PHP coding. Bigger projects later on might well benefit from a
framework, certainly if there''s more then one coder involved, but which is
entirely dependant on the project itself.
--
Rik Wasmus
7月16日上午11:30,Rik< luiheidsgoe ...... @ hotmail.comwrote:
On Jul 16, 11:30 am, Rik <luiheidsgoe...@hotmail.comwrote:
On Mon,2007年7月16日21:03:37 +0200,Michael< xmxmich ... @ gmail.comwrote:
On Mon, 16 Jul 2007 21:03:37 +0200, Michael <xmxmich...@gmail.comwrote:
我是PHP的新手,我已经学会了语言的基础知识并构建了
一些小应用程序用于练习。 />
我有一个严重的困境,很快,我可能开始开发实际应用程序,完全工作的网站支付
客户。
我有2个选项可以做这个:使用普通PHP编写所有内容,或者使用某些PHP框架编写
。
我不想要选择的东西,并意识到另一个是
batter。
我想用这两种编程技巧中的一种并坚持
将来没有遗憾。
I''m new to PHP, I already learned the basics of the language and built
some little app''s for practice.
I have a critical dilemma, soon enough, I probably start to develop
real-world applications, fully working web-sites for paying
costumers.
I have 2 options for doing this: writing everything with plain PHP, or
using some PHP framework.
I don''t want to choose something and the realize that the other is
batter.
I want to get used for one of this 2 programming techniques and stick
with it with no regrets in the future.
请尽量在这里帮助我,我在网上搜索了3天但是不能
找到一个不错的答案,许多程序员开始使用普通的PHP然后
想尝试一些框架,但意识到改变所有应用程序
他们一直在构建将是一个痛苦 - 所以他们坚持使用
普通的php和一些模板引擎[ie-Smarty]。那不是我的b / b
情况,因为我是这个语言的新手,我真的很想在开始时做最好的b / b
。
please try to help me here, I''m searching the web for 3 days but can''t
find a decent answer, many programmers started with plain PHP then
wanted to try some framework but realized that changing all the apps
they have been building would be a pain -so they stick with the
plain php and maybe some template engine [ie- Smarty]. thats not my
situation because I''m new to the language, I really want to do the
best move at the beginning.
没有单一的答案,一切都取决于你究竟是在做什么。如果你是一个先发制人,那么你的项目将不会发生变化,而且开始时这些项目将变得非常复杂。在这些情况下,使用
框架通常是矫枉过正的,并且使用
''普通''PHP编码可以更好地服务该项目。稍后更大的项目可能会从
框架中受益,当然,如果涉及的编码器超过一个,但是完全依赖于项目本身的是b $ b。 br />
-
Rik Wasmus-隐藏引用文字 -
- 显示引用文字 -
There''s no single answer, all depends on what it is exactly that you''re
making. If you''re a starter, changes are your projects aren''t going to be
that big and complicated in the beginning. In those cases, using a
framework is usually overkill, and the project is better served with
''plain'' PHP coding. Bigger projects later on might well benefit from a
framework, certainly if there''s more then one coder involved, but which is
entirely dependant on the project itself.
--
Rik Wasmus- Hide quoted text -
- Show quoted text -
框架开发和普通开发有什么区别?
非常有用的回复谢谢!
Matt >
也许有人可以回答我的简单问题..?
您有经验,请分享您的想法。
我不能相信你对这个问题没什么可说的。
maybe someone can answer my simple questions..?
you have experienc, please share your thoughts.
I can''t believe you have nothing to say about this issue.
这篇关于什么是开发PHP应用程序的最佳方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!