天生我才必有用

Joomla! 1.5 正式发布

分类: PHP    作者:Ray    2008年01月23日

Joomla 1.5终于在长期的期待中,从RC版本升级到了Release版本,功能猜想在RC版本中应该已经都看到了。

从程序员的角度来看待这次更新应该是一个非常大的飞跃,增加了一下的功能:

  1. 建立了Joomla Framework。(设计了非常的不错)
  2. 引入了MVC的概念,通过一个task的变量来区分不同的功能。
  3. 加入Redirect的原生支持,一个非常完善的SEO的实现。

当然还有其他的功能,不过个人感觉在性能上还是有一点点的影响。同时一套不错的Framework,但支持的文档确实非常的少。不过最近很多书籍的初步,证明了它的吸引力。

希望能一天天走向更成熟,在性能上有更大的提高。

下载地址:http://joomlacode.org/gf/project/joomla/frs/?action=FrsReleaseBrowse&frs_package_id=2

标签:

Joomla 1.5 RC4 发布

分类: PHP, 网站设计    作者:Ray    2007年12月21日

经过了一个漫长的等待,Joomla终于像挤牙膏似的除了1.5 RC4版本,修改了以下的一些问题。期待正式版的早日发布。 :)

Known Issues

  • There is an issue with the URL rewriting plugin that affects links embedded in articles in some cases. Make sure you test this thoroughly before updating a live site.

Security Fixes

  • SECURITY [HIGH] Critical CSRF allow portal compromise - Administrator components.
  • SECURITY [HIGH] Fixed registered user privilege escalation vulnerability.
  • SECURITY [MEDIUM] Fixed administrators can promote other users to administrator group.
  • SECURITY [LOW] XSS vulnerability in com_poll
标签: ,

Beginning Joomla!: From Novice to Professional

分类: PHP, eBook    作者:Ray    2007年12月9日

Apress.Beginning.Joomla.From.Novice.to.Professional.Jul.2007.eBook-BBL

joomla2.jpg

书名:Beginning Joomla!: From Novice to Professional (Beginning from Novice to Professional) (Paperback)
作者:Dan Rahmel
出版社:Apress publisher
ISBN:1590598482
EDITION:1st
出版日期:July 19, 2007
语言:English
下载emule
简介

Do you want the ability to manage documents, photos, and other content over the Web but don’t want to shell out thousands of dollars in proprietary solutions? Want to create an online community for your hobby or user group? You’re not alone. For thousands of like-minded around the globe, the answer is Joomla!, an open source content management system used to manage all sorts of data over the Web. While Joomla! is relatively easy to install, a fair amount of knowledge is required in order to configure the application to your specific needs. Beginning Joomla! answers many of the questions you’re sure to have, guiding you through the process of creating your own design templates, adding and managing content, and adding popular community features such as article commenting, user profile management, and forums. Later chapters discuss e-commerce integration, explore search engine optimization, and show you how to extend Joomla! by creating your own plug-ins.

标签: , ,

Professional Joomla! (Programmer to Programmer) (Paperback)

分类: PHP, eBook    作者:Ray    2007年12月7日

Wrox.Professional.Joomla.Oct.2007.eBook-BBL

profession-joomla.jpg

页数:480 pages
作者:Dan Rahmel
出版社
: Wrox (October 1, 2007)
语言:English
ISBN-10:0470133945
ISBN-13:978-0470133941
下载emule
介绍

Professional Joomla walks the reader through Joomla, an open content management system that is rapidly growing in popularity. Readers will quickly advance from installation, integration, and set-up topics to digging into the underlying PHP and MySQL whose flexibility is driving the growth of the platform. Readers will explore load balancing, log tracking, and even search engine optimization. From a user standpoint, Joomla offers tremendous ease of use and simplicity. The elegant dashboard based upon the KDE interface allows content to be updated in minutes and data to flow freely from outside sources. Administrators and developers have he capability to customize virtually every aspect of the platform. For this reason extra attention is given to topics like plug-ins, the API, design and skinning, and integration with existing databases, websites, and web services.

标签: , ,

Joomla 1.5 vs Joomla 1.0

分类: PHP    作者:Ray    2007年12月6日

Joomla 1.0 其实是从Mambo过来的一个分支。因此在系统的框架和组件的设计上都和Mambo非常的类似。但Joomla 1.5的版本却是完全推翻了原来的设计,在系统架构、组件设计等方面都是一个较大的飞跃。

我们来看看他们到底有何不同,1.5版本有些什么特别之处:

  • Completely revamped Administration interface (全新的后台管理界面)
  • Improved template preview (改进了模板的预览)
  • New plug-in manager (新的Plug-in管理)
  • Multi-CSS file editing (多CSS文件的支持)
  • Full support for Atom 1.0 and RSS 2.0 feeds (支持Atom 1.0和RSS 2.0的聚集)
  • Improved accessibility options (改进可用性)
  • Increased focus on internationalization, including full UTF-8 support, RTL support, and translation using INI files (对国际化的支持,全面支持UTF-8编码,语言文件可以使用INI格式)
  • Native LDAP support (支持LDAP)
  • XML-RPC support (XML-RPC的支持)
  • A streamlined component call interface that allows easy implementation of Ajax applications (Ajax应用的支持,使用知名的Mootools Javascript库)。
  • Completely overhauled Joomla programming framework (全新的Joomla 开发框架,支持MVC概)。

不过个人感觉这些功能的加入对性能还是造成了一定的影响。如果构建的网站无需此些新功能,可能性能上Joomla 1.0更胜一筹。

标签: ,

如何让PHP4模拟支持PHP5的构造或析构函数

分类: PHP    作者:Ray    2007年10月15日

PHP5通过__construct()和__destruct()来支持实现Java,C++语言中队构造和析构函数的支持。但当前还有很多的Framework和各类服务器只支持PHP4,是否有办法可以使用PHP4的语法来实现PHP5的构造和析构函数的支持?

其实在Joomla中就对这两个函数进行的封装和模拟,使得这两个PHP5的语法可以在PHP4中使用。

(阅读全文…)

标签: ,

Joomla教程

分类: PHP    作者:Ray    2007年09月16日
标签: ,

Joomla的Toolbar

分类: PHP    作者:Ray    2007年09月14日

1.保存按钮:

  • mosMenuBar::save() ;
  • mosMenuBar::savenew();
  • mosMenuBar::saveedit();

2.返回按钮

  • mosMenuBar::back();

3.新增按钮

  • mosMenuBar::addNew();

4.编辑列表按钮

  • mosMenuBar:: editList();

5.回收按钮

  • mosMenuBar:: trash();
  • mosMenuBar::deleteList();

6.发布按钮

  • mosMenuBar::publish()
  • mosMenuBar::publishList();
  • mosMenuBar::makeDefault();
  • mosMenuBar::assign();

7.取消发布按钮

  • mosMenuBar::unpublish();
  • mosMenuBar::unpublishList();

8.归档和取消归档按钮

  • mosMenuBar::archieveList();
  • mosMenuBar::unarchieveList();

9.编辑Html按钮

  • mosMenuBar::editHtml();

10.编辑CSS按钮

  • mosMenuBar::editCss();

11.预览按钮

  • mosMenuBar::preview();

12.媒体管理按钮

  • mosMenuBar::media__manager();

13.套用按钮

  • mosMenuBar::apply();

14.取消按钮

  • mosMenuBar::cancel();

15.自定义按钮

  • 如果用户需使用自定的按钮,可以使用JToolBarHelper中的Custom成员方法

其中mosMenuBarJToolBarHelper的子类,JToolBarHelper定义在administrator\includes\toolbar.php中.

标签: ,