我认为对于需要向服务器发送请求并将结果显示为 HTML 的简单 Web 应用程序来说,这是最简单、易于设置的架构。
希望这有帮助
Okay, so here is my subjective example:
I am using Debian Linux as a server OS, with PHP 5.3 as serverside scripting and MySQL 5.1 as database.
I choose PHP because it's easy to work with, easy to learn, and has already installed extensions for MySQL. so i can just use mysql related functions to access the database.
On the client side i use jQuery for interactivity with different plugins for fancy stuff. The layout developed by a professional desiner who hadns me the HTMLs and CSS so i only need to add the text i get from the database and put some javascript (jQuery) to make ajax requests to the server.
As a SDK i use Zend Studio but a free alternative with the same editing features is Eclipse PDT.
I think this is the most simple, easy to setup architecture for simple web based applications that need to send requests to server and display results into HTML.
This question could have a large number of responses, most of them contradictory.
Web based applications, need a browser to render the results and a server to process.
There are many languages that allow you to develop web based application : PHP (very wide usage), C# and ASP.NET , Java Servlets, Ruby on Rails, even Cgi scripts in Python, Perl or whatever.
You should use the language that's most appropriate for your needs.
Than you should need a framework to ease your development.
For PHP you can choose between popular ones like : Simphony, Zend Framework, Code Ignitor, Yii I don't know of good frameworks for other technologies but if you decide on something, you can ask a more clear question, or search the net.
The last point is the browser interface, that is javascript. There are some frameworks here like jQuery that you used. Others are : Yahoo User Interfaces, a more robust one, Dojo, and others as well...
发布评论
评论(2)
好的,这是我的主观示例:
我使用 Debian Linux 作为服务器操作系统,使用 PHP 5.3 作为服务器端脚本,使用 MySQL 5.1 作为数据库。
我选择 PHP 是因为它易于使用、易于学习,并且已经安装了 MySQL 的扩展。所以我可以使用mysql相关的函数来访问数据库。
在客户端,我使用 jQuery 与不同的插件进行交互,以获得奇特的东西。该布局由专业设计师开发,他为我提供了 HTML 和 CSS,因此我只需要添加从数据库获取的文本并添加一些 javascript (jQuery) 即可向服务器发出 ajax 请求。
作为 SDK,我使用 Zend Studio,但具有相同编辑功能的免费替代品是 Eclipse PDT。
我认为对于需要向服务器发送请求并将结果显示为 HTML 的简单 Web 应用程序来说,这是最简单、易于设置的架构。
希望这有帮助
Okay, so here is my subjective example:
I am using Debian Linux as a server OS, with PHP 5.3 as serverside scripting and MySQL 5.1 as database.
I choose PHP because it's easy to work with, easy to learn, and has already installed extensions for MySQL. so i can just use mysql related functions to access the database.
On the client side i use jQuery for interactivity with different plugins for fancy stuff. The layout developed by a professional desiner who hadns me the HTMLs and CSS so i only need to add the text i get from the database and put some javascript (jQuery) to make ajax requests to the server.
As a SDK i use Zend Studio but a free alternative with the same editing features is Eclipse PDT.
I think this is the most simple, easy to setup architecture for simple web based applications that need to send requests to server and display results into HTML.
Hope this helps
这个问题可能有很多答案,其中大多数是相互矛盾的。
基于 Web 的应用程序需要浏览器来呈现结果和服务器来处理。
有许多语言允许您开发基于 Web 的应用程序:PHP(用途非常广泛)、C# 和 ASP.NET、Java Servlet、Ruby on Rails,甚至是 Python、Perl 或其他语言中的 Cgi 脚本。
您应该使用最适合您需要的语言。
您应该需要一个框架来简化您的开发。
对于 PHP,您可以选择流行的框架,例如:Simphony、Zend Framework、Code Ignitor、Yii
我不知道其他技术有什么好的框架,但如果您决定某件事,您可以提出更明确的问题,或者搜索网络。
最后一点是浏览器界面,即javascript。这里有一些您使用过的框架,例如 jQuery。其他还有:雅虎用户界面、更强大的用户界面、Dojo 以及其他...
This question could have a large number of responses, most of them contradictory.
Web based applications, need a browser to render the results and a server to process.
There are many languages that allow you to develop web based application : PHP (very wide usage), C# and ASP.NET , Java Servlets, Ruby on Rails, even Cgi scripts in Python, Perl or whatever.
You should use the language that's most appropriate for your needs.
Than you should need a framework to ease your development.
For PHP you can choose between popular ones like : Simphony, Zend Framework, Code Ignitor, Yii
I don't know of good frameworks for other technologies but if you decide on something, you can ask a more clear question, or search the net.
The last point is the browser interface, that is javascript. There are some frameworks here like jQuery that you used. Others are : Yahoo User Interfaces, a more robust one, Dojo, and others as well...