基于 CakePHP 的新闻网站,提供照片、视频和社交互动
首先,我做了一些研究,找出在开发一个基本上涵盖新闻、照片、视频和用户交互等所有内容的大型网站时最好做什么,但我仍然觉得我需要其他开发人员的更多投入。
我目前使用 PHPCow (Brava News Network) 运行一个基于葡萄牙语(佛得角)的网站,分别用于照片 4images 。我觉得是时候通过开发自己的统一应用程序来改变和以不同的方式处理它了。我使用 CentOS 5.5 以及 Apache 和 MySQL 设置了几台服务器。基本上,我会在家运行它。
我查了很多文章,大概30天左右就可以开始了。
问题:
制作一个看起来类似于福克斯新闻或任何类似网站的最佳方法是什么?在这些网站中,您对新闻进行了分类,首先是突发新闻,然后根据管理员设置的限制显示其他新闻等?
在照片或视频方面,有人知道已经制作了此类组件来加速我的开发吗?
任何意见将不胜感激。正如我已经提到的,我将在 30 天内开始工作,并将发布我的进展和问题。
First of all, I have done some research in finding out what best to do when developing a large-scale website that basically encompasses everything such as News, Fotos, Videos and User Interaction, but I still feel I need more inputs from other developers.
I currently run a portuguese (Cape Verde) based website using PHPCow (Brava News Network), 4images for fotos, separately. I feel that it is about time to change and approach it in a different manner by developing my own app that is uniform. I have a couple of servers setup using CentOS 5.5 with Apache and MySQL. Basically, I will be running it from home.
I have looked into many articles and I should be able to start in about 30 days.
Questions:
What is the best approach to make a frontpage that looks similar to Fox News or any similar websites where you have news categorized, breaking news first, other news displayed based on limit set by admin, etc?
In terms of photos or videos, does anyone know of such components already made to speed up my development?
Any inputs would be appreciated. As I already mentioned, I will start working within 30 days and will be posting my advances and problems.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您想要做的是在 cake 中创建一堆元素,每个元素显示首页的不同部分。您可以查看一些示例,例如
https://github.com/infinitas/ infinitas/tree/dev/core/modules
http://teknoid.wordpress.com/2008/12/16/how-to-build-a-dashboard-for-your-application-in-cakephp/
what you want to do is create a bunch of elements in cake that each display a different part of the front page. you can have a look at some examples like
https://github.com/infinitas/infinitas/tree/dev/core/modules
http://teknoid.wordpress.com/2008/12/16/how-to-build-a-dashboard-for-your-application-in-cakephp/