带有PHP,MySQL和Apache的Web应用程序 [英] Web application with PHP, MySQL and Apache

查看:73
本文介绍了带有PHP,MySQL和Apache的Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用PHP,MySQL和Apache技术进行项目.我使用用例和数据模型设计了一个数据库.

我的问题是:
用OOP概念编程Web应用程序是个好主意吗?

我认为使用OOP概念进行编程不是强制性的,因为我所需要的只是创建一个允许读取数据的查询(SQL).

在您的位置,您会怎么做?是否使用OOP概念对Web应用程序进行编程?

最好的问候,
Peter

Hi,

I am working on project using PHP, MySQL and Apache technologies. I designed a database using use cases and data model.

My question is:
Is it good idea to program a web application with OOP concepts?

I think it is not obligatory to program with OOP concepts because all I need is create a query (SQL) that allows read data.

In your place, what would you do? Programming a web application with OOP concepts or without?

Best Regards,
Peter

推荐答案

从您的问题中我了解到您不是OOP专家,这就是为什么您在决定使用OOP还是不使用OOP时仍然犹豫不决根据具体情况而定,但是根据我的经验,我始终建议您使用OOP,一开始您可能在语法上会遇到一些困难,但是一旦熟悉了语法,便会喜欢编码.特别是在大型项目或将来的扩展项目中建议使用OOP.
From your question I can understand that you are not expert with OOP, that is why you are hesitating about OOP, though deciding about using OOP or not using it depends on scenarios but from my experience I always recommend using OOP, at the beginning you might face little difficulties in syntax, but once you got familiar with it then you will enjoy coding. specially OOP is recommended in large projects or future extending projects.


这篇关于带有PHP,MySQL和Apache的Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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