我了解 PHP,并且刚开始使用 MySql(但计划使用 ODBC).我不需要任何解释这一点的书籍.
I know PHP and am just beginning with MySql (but plan to use ODBC). I don't need any books explaining that.
我可能有资格开发一个简单的网站,但我的目标是开发雄心勃勃的应用程序.我想几乎所有的网络应用程序都有一些共同点,比如安全性、可扩展性等(例如,我完全不知道如何在服务器服务器上分发数据库或应用程序).
I am probably qualified to develop a simple web site, but aim at taking on quite ambitious apps. I imagine that almost all web apps have some commonality like security, scalability, etc (I have absolutely no idea how to distribute a data base or an app over server servers, for instance).
由于我无法预见我可能开发的应用程序的确切性质(除了 PHP 和 ODBC 将涉及),与框架结合是否有任何意义,或者我是否应该重新发明轮子并对其进行个性化,使其成为我自己的框架.
Since I can't foresee the exact nature of the applications which I might develop (other than that PHP & ODBC will be involved), is there any point in getting married to a framework, or should I just reinvent the wheel and personalize it to make it my own framework.
如果是现有的框架,那么是哪一个?我能提供的唯一帮助是我不太可能做网站、门户、购物网站等,可能更倾向于资产跟踪和数据挖掘.
If an existing framework, then which one? The only help I can give is that I am not likely to do websites, portals, shoppings sites, etc, probably leaning more to asset tracking and data mining.
使用框架可以为您节省大量时间,并帮助您合理地组织应用程序.
Using a framework saves you a ton of time and helps you to organise your app mroe logically.
如果应用程序很小,那么像 CodeIgniter 或 Kohana 这样的框架是理想的.
If the app is small then frameworks like CodeIgniter or Kohana are ideal.
如果您正在构建一个需要扩展 Symfony 或可能是 Zend 的更大的应用程序,那么您可以看看.
If you are building a bigger app that needs to scale the Symfony or possiby Zend are the ones to look at.
如果你在 Symfony 中启动你的应用程序,你会立即得到:
If you were to start your app in Symfony you would instanly get:
此外,整个框架是可扩展和可定制的,以满足您的需求.
Plus the whole framework is extendable and custmisable to suit your needs.
如果没有框架,您必须自己编写所有这些内容.或者集成几个不同的开源模块.
Starting without a framework you'd have to write all of this yourself. Or integrate several disparate open source modules.
希望这会有所帮助.
这篇关于Web-apps:框架还是不框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!