:: ENGLISH :: PORTUGUêS ::
|
Beer, wine or water? What do you drink?
Partners: Server time 03:15 Location: Home Page > Interviews > Manuel Lemos Interview with Manuel Lemos André Ferreira: To start off, I would like to thank you on behalf of "MastersHelp" and myself for this possibility. I would like to start by asking you what's the "PHP Classes" Web site all about and how did you came up with the idea for it? Manuel Lemos: I've been developing Web sites in "PHP" since 1997. In each project I noticed common needs across different projects that could be satisfied with the same code libraries that I had been accumulating. When I started, "PHP 2 Beta", it had just been released, and it only allowed using functions and global variables. It wasn't a good way to organize code libraries because, some times, there were problems with function variables and global variables with the same name, but from different modules. Later, when "PHP 3" was released with Object Oriented Programming support, I could finally organise better the code in object classes. I started to accumulate a lot of object classes and generic classes that I thought could be useful in other people projects besides my own. Frequently I would recommend, in "PHP" discussion forums, my classes to other people, because of the general utility of the classes. For that, I would request to the interested party to contact me in private so that the discussion forum was not disturbed. While I was receiving more and more requests, this form of distribution was giving me more and more work. André Ferreira: That form of viewing things, I am referring to the code sharing that is in fact your intellectual property, seams quite related to GPL and the open source movement. Is the code publicised under that licence? Do you relate to the movement? Manuel Lemos: No, in fact I think there's a big miss understanding about the subject. André Ferreira: In that case, the code you have is freely distributed without being under any kind of limitation? May I ask why? Manuel Lemos: On the beginning, I didn't have a clue about the need of having to tell the public what licence I was using. This happens with the vast majority of programmers when they start opening code, because there aren't any legal worries. But when some users asked me if they could use my code in close applications or even commercial, I then realised I needed to adopt a licence sufficiently known that would identify itself to my ends. Normally I launch my projects in open code under the BSD licence because basically it expresses what I am interested on, that is I grant the use of the original version or changed versions in closed, open, free or commercial projects but the copyright must be maintained. André Ferreira: In a simple way, how would you describe what a "PHP" class is? How does one use it? Manuel Lemos: A class is a library that has functions built in that execute operations, eventually manipulating variables that keep relational information. For example, one of my more popular classes is for form generation and validation. The objects in that classes can keep information that defines the fields of that form and have functions to present the form in a Web page, process the forms when the user submits, determine if the values of the fields obey to the pre establish rules of validation, etc. André Ferreira: About 55% of your Web site users are from Europe. What are the marketing strategies that you use in your Web site promotion? Do you seek special audiences? Manuel Lemos: In the beginning I didn't have a commercial interest to get financial gain from the Web site. I was only interested in advertise it to get a bigger number of people testing my components. What I did to advertise the Web site was what I did before even starting it. Participate in discussion forums and help people that could solve their problems with my components. André Ferreira: Is the work you do in "PHP Classes" profitable? How? Manuel Lemos: Meanwhile it's paid publicity on the Web site pages that pay for the work done. I always looked for a way to compensate for the effort I put in the Web site. Publicity is a way, but it's not something that generates regular income. There are much better months then others. Any way, the most important thing, is that I learned that direct publicity sales it's almost undoable. I mean, if I dedicated my time to hunt potential publicity clients, I might even get some, but I won't have time to do anything else. On the other hand, I am not a sales person. I mean I don't have the technical talk that a sales professional has. That makes a lot of difference when it's time to close the deal. André Ferreira: What languages, applications and databases do you use in "PHP Classes"? Manuel Lemos: The Web site is all written in "PHP". Everything uses "PHP", the scripts pages, the newsletters scripts, to all the other operations that run outside the Web server. The database is "MySQL", but it could be another ("PostgreSQL", "Oracle", "Microsoft SQL Server", etc..) without having to change a single code line since the Web site was written using a abstraction package I wrote regarding database access that I call "Metabase" and that grants total independency. André Ferreira: How much time do you dedicate to the Web site development? Manuel Lemos: Practically all the free time I have. It takes at least one hour a day to moderate and approve new submitted classes. I work at home. Family is a priority. So free time is what I have left. Some days they don't exist, others I only go to sleep when I finish the tasks I proposed myself to do. It varies. André Ferreira: Do you have special care regarding Accessibility and usability? Which ones? Manuel Lemos: Well yes, but that's problematic. I try not to mess a lot with things disposition. The current disposition reflects lots of improvements that were made according to accessibility problems transmitted to me by the users. For example, once again I got complains from people with visual difficulties that the colours on the Web site aren’t easy to read due to lack of contrast. The improvements were made and people got satisfied. The problem is that from time to time I get proposals for design changes only for esthetical reasons. Many of the esthetical questions are subjective ones. What might be pleasing to some might not be to others. So I rather not mess a lot because it doesn't guarantee that any arbitrary change in the Web site design will please the bigger part of the users. Worst than that is, if I let something get changed, some people might not be able to find something they are used to find in the same place for years. Any way, I have some basic cares with usability, like giving some keys alternatives to activate form fields, so that the user can avoid to change between keyboard and mouse frequently and some other more subtle details. André Ferreira: How many collaborators do you have at this time? Manuel Lemos: To tell the truth, most collaborators are authors that submit their own classes on the Web site. The rest I do basically myself. There were two people that some times helped me in unique details. There is a user in Australia that placed himself to my disposition to improve the English I use in the book critics or in some messages for ads of new capabilities. There's a user in France that made the "elePHPant" logo that we use in the Web site. He also made the logo for the "PHP Programming Innovation Award" launch last month on the Web site to give recognition to the authors that contribute with classes more innovated or that give additional value to the projects they are using. André Ferreira: What can we find in your Web site that we can’t find in any other? What guaranties do you give to your users in terms of quality? Manuel Lemos: What I give to the Web site users that might not be given in other Web sites is a consequence of something I give to the authors, that sometimes they have difficulty in finding, that's the possibility of publishing their components. Being that, they might be the simple’s ones or the most complex, so that with that they can reach an audience of many thousand of users longing to know about new components in PHP programming. From there users can get immediate e-mail warning about many updates, that may happen in the classes, without having to do any extra work Those that don't want to get immediate warnings can get only a weekly newsletter that contains summaries of all that was updated. There are eventually other things of unique interest in this Web site, but I think these are the most important ones. André Ferreira: According to the statistics that you have available on the Web site, 22% of your users use "Mozilla". Do you believe that the usage of this browser or any other that uses the GPL licence might overcome the Internet Explorer usage? Manuel Lemos: No. "IE" domination has to do directly with "Microsoft Windows" domination on the desktop. While that domination continues, nothing will change. I know that Microsoft won't be giving more versions of "IE" for download. But, the matter is that the browser will come free with new versions of Windows and while people are using windows, nothing will change. André Ferreira: What do you whish for "PHP Classes" future? Manuel Lemos: Well, for now I intend to keep working to implement the packages of paid services I told you about. That is my biggest ambition at the time. I think that doing more than that would be given a step bigger that the leg and that has never been my way. André Ferreira: What piece of advice would you give to someone that is just starting to work in PHP? What is the best way to go until reaching classes? Manuel Lemos: RTFM! ;-) Interviewer: André Ferreira |