Archive

Archive for the ‘Articles’ Category

Managing eZ publish projects

March 1st, 2008 No comments

[Managing eZ publish projects]

Are you responsible for the implementation and management of eZ publish projects, or are you building sites for medium to large clients? If your answer is yes, then this book will give you a better understanding of all the elements involved in eZ publish Content Management projects.

This is what we can read on the back cover of Managing eZ Publish Web Content Management Projects, and I think this is what we can actually get from this rather unusual book.

I say unusual because this is not a book to learn eZ publish, it’s a project management book for delivering eZ publish solutions. It’s also unusual because, while there are many project management books for software development projects, Content Management (CM) is still a young discipline, and no defined methodologies are currently available to cover the full scope of CM projects.

This book, published by Packt, is then an attempt to define a set of practices to help project managers deal with CM projects until suitable methodologies emerge. The author, Martin Bauer, is the Managing Director of designIT, an Australian based CM specialist practice, and has ten years experience in web development and web based content management.

You can find a general description of this book contents on the publisher’s site (Managing eZ Publish Web Content Management Projects), so I am not going to duplicate that information here. I prefer to report my own experience while going through the information packed chapters of this book.

I might group the thirteen chapters, according to their content, in:

a) Chapters mostly related to software development projects in general, containing sound advice for both “traditional” and CM projects: chapters 4, 7, 8, 9 and 12 fall in this category, covering Project Definition, Planning and Pricing, Risk Management, Open Project Management, and User Training;

b) A chapter mostly related to the eZ publish Content Management System (CMS), giving an overview of this powerful CMS: chapter 3 explains Content Classes, Nodes and Locations, Sections, Templates, Access Control, Workflow and Extensions;

c) Chapters mostly related to content management projects, containing specific practices tailored to this young discipline, like chapters 1, 2, 5, 6, 10, 11 and 13, covering Content Modeling, Implementation, Testing and Support of eZ publish sites.

I enjoyed reading the whole book, but the chapters in the last group are the ones I like the best, because they bring so many insights into the fascinating world of content management projects.

Categories: Articles

sNews 1.6 review

December 30th, 2007 No comments

[sNews]

sNews 1.6 is the current version of a single file, template independent, PHP and MySQL powered, standards compliant CMS written by Solucija and released under a Creative Commons License.

This article is a short review of sNews 1.6, covering Installation, The Administration Page, Adding and Managing Content, and sNews Themes.

=> Installation

sNews requires PHP, MySQL and Apache with mod_rewrite enabled. The installation archive contains five files:

* snews.php: the sNews CMS code;
* .htaccess: the Apache settings file;
* readme.html: the installation instructions;
* index.php: the default template;
* style.css: the default stylesheet.

After we unpack the installation archive and follow the installation instructions in readme.html (setup the database, edit settings, upload files) we can browse to our site home page, where we are presented with a clean default layout.

=> The Administration Page

To add content, we need to log in. The first time we have to use the default account (username = test, password = test) but we must change that as soon as possible for obvious security reasons.

After logging in, we find a clean and simple administration page, with a first panel to add and manage content (Categories, Articles, Extra contents and Pages) and a second panel to edit settings and upload files.

To change our username and password, we go to Settings, where the last panel allows us to do just that. The other panels are about basic Settings (e.g. Website Title), Contact info, Time and Locale settings, Contents settings (e.g. how many articles per page) and Comments settings.

=> Adding and Managing Content

sNews handles different types of content.

Articles: content for display in the Home page or other Category pages;
Pages: content for display in independent pages;
Extra: content for display in other locations on our pages.

Articles are the most usual form of content and, by default, they are displayed on the Home page in reverse order. Each Article could be assigned to a Category instead, and in this case the Article would display in its Category page (no longer in the Home page).

Articles usually include text and (X)HTML, but it’s possible to include PHP scripts as well. Articles can be commented, and comments can be moderated. Each Article has a SEF (Search Engine Friendly) permanent URL, which displays the Article on a page by itself when entered in a browser.

Pages are much like Articles. The only difference is that a Page content is never displayed in the Home page nor in any Category page, but always on an independent page by itself. Like Articles, Pages can include PHP scripts, can be commented, and have a SEF permanent URL.

Extra content is similar to Articles and Pages, but is displayed in a specific location, typically in a sidebar, on a page of our choice (Home page, Category page, or Page) or on them all. Extra content can include PHP scripts, but can’t be commented and doesn’t have a permanent URL.

=> sNews Themes

While it’s not possible to activate a new theme from the Administration page, it’s perfectly possible to do so manually. We just need to replace the index.php file with a new one; the new index.php will possibly reference a new style.css stylesheet and a few images, all contained in a subfolder of the sNews installation.

=> Conclusions

sNews offers many useful features in a surprisingly small package, less than 2000 lines of PHP code. Any (X)HTML / CSS website template can be easily converted for use with sNews, simply replacing the static content elements of the template with the sNews functions that generate the dynamic content.

So, whether you are a normal user, a developer, or a designer, you may find sNews interesting. Give it a try!

Categories: Articles

Interview with Coldstone of GreyMatter

November 10th, 2007 No comments

[GreyMatter]

Coldstone, the current lead developer of GreyMatter, has been kind enough to take the time to answer a few questions by BlogsWeek.com. Here’s the full interview.

BW: Coldstone, thank you very much for your time. Would you please tell us a little about yourself, and your involvement with the GreyMatter project?

Coldstone: I began using GreyMatter around August of 2006. I had started to dig into the code and started going to greymatterforums.com, for answers and to help other people with some of the difficulties I ran into when using GM. I had been going to the forums for less than a month when the maintainer at the time had some issues and closed the forums for good.

I spent a few weeks seeing if they would come back and searching Google to see if anyone else had started a new home for GreyMatter. After talking to a few of the previous developers, as well as Noah Grey, I decided to start up a new forum for GreyMatter.

BW: GreyMatter is an established blog platform with a loyal audience. What are in your view the strong points of this platform, that could motivate new users to try it?

Coldstone: What attracted me initially was that GreyMatter didn’t require a database. I still feel this is one of its strongest selling points. I think databases are great and one of my goals was to make GreyMatter flexible enough to use either system (flat file or database). My own motivation is that I didn’t want to pay more to my webhost for a database, so I found GreyMatter to be a perfect fit.

After working on it, I feel that its template system is really the strongest point. It’s very flexible and it really gives the user a great deal of control over how their blog will appear. As development continues, I think the anti-spam features are becoming more useful to users.

BW: GreyMatter development has been very active again in the last twelve months. Could you tell us something about the recent improvements? And what can we expect from GreyMatter in the near future?

Coldstone: My driving goal in the last 12 months has been primarily to clean up the existing code. I do not want to dismiss the fine efforts of previous developers of Greymatter. There was simply a lot of copy and pasted code, that was leading to bugs in GreyMatter. Sometimes even something as simple as a misspelled word would cause a template rendering issue.

I think that by cleaning up the code, it will make it easier for future developers to extend GreyMatter. There have been several efforts in the past to completely redo GreyMatter and I think that’s a very ambitious goal. At the end of the day, GreyMatter works for users. By doing incremental changes over two years, I think we will have a very good program.

Additionally, the GreyMatter development team has also been looking at security and spam control enhancements, such as setting a limit to the amount of links that can be posted in a comment. New features in the works are an integrated RSS feature, tags, and a draft feature, that will give users more flexibility when composing entries.

BW: Is there anything else you wish to add for BW readers?

Coldstone: I feel lucky to have found GreyMatter as I enjoy using it, but I am very grateful to the community that continues to use and support GreyMatter. I would like to thank Pete Finnigan and Carlos Phelps, as they are the other part of the GreyMatter team. They have provided expertise that I lack on numerous occasions, as well as many other contributions.

I have tried to setup GreyMatter so that when I am no longer as active on the project, it will be easy for the next developer to step in and take the reins. As each developer steps down, it is always the community that steps up to keep GreyMatter going and I am grateful for the chance to be a part of that community.

BW: Coldstone, thank you again for the interview and all the best with GreyMatter and all your projects!

Categories: Articles

Interview with Philippe Archambault

September 11th, 2007 No comments

[Frog]

Frog is a very young but promising project, aiming to port Radiant CMS, a Ruby on Rails application, to the PHP world. Its project leader is Philippe Archambault, who has kindly agreed to a virtual interview with BlogsWeek.com.

BW: Philippe, thank you very much for your time. First, can you tell us a little about yourself?

PA: Hi Andrea! I’m a 25 years old freelancer from Canada. Before starting freelance, I worked at a Linux consulting company in Montreal for about 2 years. It is there that I gained expertise as a project manager and PHP/MySQL developer.

BW: When and why did you start the Frog project?

PA: I started this project for one reason, to port Radiant CMS to the PHP language. The first line of code was written in December 2006, and the first public beta was released in January 2007.

Now that I receive more and more emails about issues or feature requests for Frog, I realize that Frog is more used than I was thinking and this is why I am taking this project more seriously; but I’m still doing it for my own pleasure, when I have time and if I’m feeling for it.

BW: What advantages and features will Frog offer over the other systems currently available?

PA: First it’s the simplicity and the flexibility of the administration backend. The concept is really simple, with hierachical pages, flexible parts (body, sidebar, summary, …), flexible layout and a professional administration layout. To this, I have added a really simple file management that is also very easy to use.

Secondly it’s the easy customization and adaptation to user needs. The important thing is that you don’t need to learn a new template language. Frog lets you write PHP code anywhere in a page, and in general this is what almost any webmaster can do.

BW: What improvements can we expect in the next Frog release? Do you have an estimated 1.0 release date?

PA: Frog will have new core features like a caching system, more flexible user roles and permissions and maybe a skin mutation to make Frog more unique.

The 1.0 release will be ready next year, and I hope to celebrate the first Frog birthday, in January 2008, with all those core features in it.

BW: Is there anything else you wish to add for BlogsWeek readers?

PA: Thanks to all open source CMS (Typo3, WordPress, Joomla!, …) to let me know the importance of sharing knowledge. And thanks to all of you who use Frog and report issues on it, or just send me an email saying thanks. It’s all those little things that make me happy when I work on the Frog project, for myself and for the whole user community.

BW: Philippe, thank you for the interview and all the best for your projects!

Categories: Articles

DotClear themes

February 11th, 2007 No comments

[DotClear]

DotClear offers a very convenient way to quickly change the design and layout of your site. New themes can be installed and activated from the Administration panel, so you don’t have to manually download an archive, unzip it, and upload the theme files to your site.

To install a new DotClear theme:

1. from the Administration panel, select Tools – Themes manager;
2. enter the URL, http or ftp, of the theme package file (theme package files have the extension .pkg.gz);
3. click the install button: the new theme will appear in the List of installed themes.

To activate an installed theme:

1. click “use this theme” for the theme you wish to activate.

Many DotClear themes are freely available over the Internet. A nice DotClear theme gallery is at Camping Clair de Lune, where you can find hundreds of themes, both for DotClear 1.2.x and DotClear 2.

A DotClear theme is essentially a small PHP application, named template.php, complemented by a CSS file. The task of template.php is to output the XHTML code for a specific page type (DotClear page types are the home page, the single post page, the category archive page, the monthly archive page, the search results page).

The DotClear core in turn provides the theme API, which allows template.php to perform basic functions like accessing posts and comments, building navigation, and determining the current page type.

In conclusion the DotClear theme system allows users to quickly change their site design and layout; and, being based on PHP, doesn’t require designers to learn a special templating language while allowing them great flexibility in building custom themes.

Categories: Articles