PHP站点开发 [英] PHP site development

查看:48
本文介绍了PHP站点开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用类将我现有的网站重新设计为php。

我不是PHP最有经验的开发人员,想知道

如果有人可以给我一些关于类库起点的输入。

基本上,我的想法是使用mySQL数据库动态提供尽可能多的内容。我的目录网站已经增长到超过1,100页,

并且还在不断增长。继续执行

手动更新真是荒谬。


感谢任何输入。我很感激反馈。

解决方案

看看 http://www.tonymarston.co.uk/php-mys...structure.html

确定基于3层架构的开发环境。


另请参阅
http://www.tonymarston.co.uk/php-mys...ontroller.html

显示它如何结合模型 - 视图 - 控制器设计模式。


有一个基于这些体系结构的示例应用程序 http://www.tonymarston.net/php-mysql...plication.html 你可以在线运行
。你也可以下载所有的源代码,看看它是如何滴答的。

它使用所有实体和数据库访问的类,所以它应该给你

一个什么可以的想法完成。


它看起来很复杂,但使用我创建它的模块可以用更少的工作量来构建和维护Web组件。


HTH。


-

Tony Marston

http://www.tonymarston.net


" Me" < JD ****** @ atlantic.net>在消息中写道

news:pa *************************** @ atlantic.net ...

我想使用类将我现有的网站重新设计成php。
我不是最有经验的PHP开发人员,想知道
是否有人可以给我一些输入类库的起点。
基本上,我们的想法是使用mySQL数据库动态提供尽可能多的内容。我的目录网站已经增长到1,100多页,并且还在继续增长。继续执行手动更新变得非常荒谬。

感谢任何输入。我很感激反馈。



Tony~

我花了很多时间在数据库世界,我必须说我和

你的一些历史很好。我花了最后6个小时左右

阅读你在自己的网站上撰写的不同文章和教程

,我很高兴地说我正在学习就像我曾经有过比我记忆中更长的时间。虽然PHP

对我来说似乎并不陌生(特别是在上下文中你把它放在

中,结合了面向对象的数据操作方法),一些如何

它的实现看起来有点模糊。但是,当我完全阅读你网站上提及的其他参考部分

时,我有一种感觉

,我可能有足够的信息来戳/>
通过迷雾形成一些关于如何正确设计一个可用于Web的应用程序的b / b
的想法。非常感谢您创建

这个网站。我认为这是有关该主题的宝贵资源。我希望

您将继续留在宇宙中,以便我们那些欣赏您所教授的内容的人进一步询问。
< br $>
亲切的问候......


2004年7月5日星期一

22:10:39 +0100,Tony Marston写道:

看看 http://www.tonymarston.co.uk/php-mys...structure.html
标识基于3层架构的开发环境。
另请参阅
http: //www.tonymarston.co.uk/php-mys...ontroller.html 其中展示了它如何结合模型 - 视图 - 控制器设计模式。

有一个基于这些架构的示例应用程序 http://www.tonymarston.net/php-mysql...plication.html ,您可以在线运行。你也可以下载所有的源代码,看看它是如何滴答的。
这使用了所有实体和数据库访问的类,所以它应该让你知道可以做什么。
<它看起来很复杂,但是使用我创建它的模块可以更轻松地构建和维护Web组件。

HTH。





" Me" < JD ****** @ atlantic.net>在消息中写道

news:pa **************************** @ atlantic.net .. < blockquote class =post_quotes> Tony~
在数据库世界中花了很多时间,我必须说我和你的一些历史很相关。我花了大约6个小时左右阅读你在网站上发表的不同文章和教程,我很高兴地说我正在学习和以前一样多的学习
有比我记得更长的时间。虽然PHP对我来说并不陌生(特别是在上下文中你把它放在结合面向对象的数据操作方法中),但实现它的一些方法看起来有点' '模糊''。


新的和不同的实现一开始总是显得模糊,但随着你越来越熟悉它们,雾开始变得清晰。
$ b但是,我有一种感觉,当我完成阅读你网站上提及的其他参考部分时,我可能已经有了足够的信息来窥探雾气和制定一些关于如何正确设计可实现的Web应用程序的想法。非常感谢您创建
这个网站。我认为这是有关该主题的宝贵资源。我希望你能继续留在宇宙中,以便我们那些欣赏你所教授的内容的人进一步询问。

亲切的问候......


谢谢你的客气话。很高兴知道我的谦卑努力

非常感谢。


-

Tony Marston

http://www.tonymarston.net

开周一,2004年7月5日
22:10:39 +0100,Tony Marston写道:

看看
http://www.tonymarston.co.uk/php-mys...structure.html 用于识别基于3层
架构的开发环境。
还要看
显示/php-mysql/model-view-controller.htmltarget =_ blank> http://www.tonymarston.co.uk/php-mys...ontroller.html 它如何结合模型 - 视图 - 控制器设计模式。

有一个基于这些体系结构的示例应用程序
http://www.tonymarston.net/php-mysql...plication.html
可以在线运行。您还可以下载所有源代码,看看它是如何
滴答。这使用了所有实体和数据库访问的类,因此它应该给
你知道可以做什么。

它看起来很复杂,但是使用我创建它的模块是<可以更轻松地构建和维护Web组件。

HTH。



I would like to redesign my existing site into php using classes.
I am not the most experienced developer with PHP, and would like to know
if anyone can give me some input on a starting point for a class library.
Basically, the idea is to have as much of the content served dynamically,
using a mySQL database. My catalog site has grown to over 1,100 pages,
and is continuing to grow. It''s getting ridiculous to keep performing
manual updates.

Thanks for any input. I appreciate the feedback.

解决方案

Take a look at http://www.tonymarston.co.uk/php-mys...structure.html
which identifies a development environment based on the 3 tier architecture.

Also look at
http://www.tonymarston.co.uk/php-mys...ontroller.html which
shows how it also incorporates the Model-View-Controller design pattern.

There is a sample application based on these architectures described in
http://www.tonymarston.net/php-mysql...plication.html which you can
run online. You can also download all the source code and see how it ticks.
This uses classes for all entity and database access, so it should give you
an idea of what can be done.

It looks complicated, but using the modules that I have created it is
possible to build and maintain web components with much less effort.

HTH.

--
Tony Marston

http://www.tonymarston.net

"Me" <jd******@atlantic.net> wrote in message
news:pa***************************@atlantic.net...

I would like to redesign my existing site into php using classes.
I am not the most experienced developer with PHP, and would like to know
if anyone can give me some input on a starting point for a class library.
Basically, the idea is to have as much of the content served dynamically,
using a mySQL database. My catalog site has grown to over 1,100 pages,
and is continuing to grow. It''s getting ridiculous to keep performing
manual updates.

Thanks for any input. I appreciate the feedback.



Tony~
Having spent lots of time in the database world, I must say that I relate
yo some of your history very well. I have spent the last 6 hours or so
reading through different articles and tutorials which you have authored
on your site, and I am happy to say that I am learning as much as I ever
have in a longer period of time than I care to remember. While PHP
doesn''t seem strange to me (especially in the context you put it in
combining object oriented approaches to data manipulation), some of how
it is implemented appears a little ''fuzzy''. But, I have a feeling that
by the time I complete reading the rest of the referenced parts
mentioned on your site, I may well have enough information to poke
through the fog and formulate some ideas on how to properly design an
implementable application for web use. Thank you very much for creating
this site. I consider it a valuable resource on the subject. I hope
that you will remain in the ''universe'' for further inquiries by those of
us who appreciate what you have endeavored to teach.

Kind regards...

On Mon, 05 Jul 2004
22:10:39 +0100, Tony Marston wrote:

Take a look at http://www.tonymarston.co.uk/php-mys...structure.html
which identifies a development environment based on the 3 tier architecture.

Also look at
http://www.tonymarston.co.uk/php-mys...ontroller.html which
shows how it also incorporates the Model-View-Controller design pattern.

There is a sample application based on these architectures described in
http://www.tonymarston.net/php-mysql...plication.html which you can
run online. You can also download all the source code and see how it ticks.
This uses classes for all entity and database access, so it should give you
an idea of what can be done.

It looks complicated, but using the modules that I have created it is
possible to build and maintain web components with much less effort.

HTH.





"Me" <jd******@atlantic.net> wrote in message
news:pa****************************@atlantic.net.. .

Tony~
Having spent lots of time in the database world, I must say that I relate
yo some of your history very well. I have spent the last 6 hours or so
reading through different articles and tutorials which you have authored
on your site, and I am happy to say that I am learning as much as I ever
have in a longer period of time than I care to remember. While PHP
doesn''t seem strange to me (especially in the context you put it in
combining object oriented approaches to data manipulation), some of how
it is implemented appears a little ''fuzzy''.
New and different implementations always appear fuzzy at first, but as you
become more familiar with them the fog begins to clear.
But, I have a feeling that
by the time I complete reading the rest of the referenced parts
mentioned on your site, I may well have enough information to poke
through the fog and formulate some ideas on how to properly design an
implementable application for web use. Thank you very much for creating
this site. I consider it a valuable resource on the subject. I hope
that you will remain in the ''universe'' for further inquiries by those of
us who appreciate what you have endeavored to teach.

Kind regards...
Thank you for those kind words. It is nice to know that my humble efforts
are appreciated.

--
Tony Marston

http://www.tonymarston.net
On Mon, 05 Jul 2004
22:10:39 +0100, Tony Marston wrote:

Take a look at http://www.tonymarston.co.uk/php-mys...structure.html which identifies a development environment based on the 3 tier architecture.
Also look at
http://www.tonymarston.co.uk/php-mys...ontroller.html which
shows how it also incorporates the Model-View-Controller design pattern.

There is a sample application based on these architectures described in
http://www.tonymarston.net/php-mysql...plication.html which you can run online. You can also download all the source code and see how it ticks. This uses classes for all entity and database access, so it should give you an idea of what can be done.

It looks complicated, but using the modules that I have created it is
possible to build and maintain web components with much less effort.

HTH.



这篇关于PHP站点开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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