Help - Search - Members - Calendar
Full Version: PHP framework for easy web site creation
MandrivaUsers.org > Advanced Topics > WorkBench
theYinYeti
Hello,

For those interested in creating an accessible web site, based on W3C standards, I just released my PHP framework, named ÉASY, under the GPL license.

Here is for example my "welcome page" source:

CODE
<?php
$require = 'begin,end,mainmenu,news,notes,atom';
require_once('../_php/init.php');

echo_begin('Welcome...');
echo_mainmenu();
echo_news('../all||atom');
?>

<h1>Welcome&nbsp;!</h1>

<p>Dear web surfer,</p>
<p>You've just entered the YetI's vault&nbsp;!</p>
<p>Thank you for giving us your opinion about our website. Don't hesitate to ask questions too.</p>
<p>Have a nice time&nbsp;!</p>

<p>YetI</p>

<p class="noteform">You can make yourself heard&nbsp;! Give us your comments, questions, or advice by <a href="mailto:gablin@fr.fm">sending an e-m@il</a>, or using the form below.</p>

<?php
echo_notes('index');
echo_end();
?>


Look at the generated XHTML page, and you'll see immediately why such a framework is interesting smile.gif

I still have documentation to do, which is why the 'notes', 'poll', and 'news' (and 'atom' and 'rss1') modules are yet to be published.
I hope it will be of some use to someone, and that there will be plenty of problems smile.gif so that I can correct those and make it better smile.gif

Yves.
theYinYeti
Hi,

I just want to say, that I spotted some errors in my code. I'll upload the correction this evening (French time).

By the way, I have to emphasize one thing: this framework is not a CMS (content management system), nor is it a template-based, or blog, system.
It is aimed at helping to keep the layout and the presentation homogenous across the whole site, for a web site author who wants to be in control of the whole content.

Yves.

[edit:]Done ! +grammar correction (thank you spinynorman smile.gif) Now I have to keep translating the documentation, and then do the documentation for news, poll, atom, rss1, and notes, so that I can release them too. So much left to do... wall.gif[/edit]
theYinYeti
It's been a long time. I had forgotten about this thread.
I just wanted to add that the "project" is not dead. However, since last time I posted, it evolved to version 2 where PHP is not seen anymore (eg: <easy:news file="file.news" feed="atom"/>), and even this version is now obsoleted by the one currently in (stagnated) development.

Yves.
bassplayer
When will the non-obsoleted version be available ??? smile.gif
theYinYeti
Well, If you go to my site, you'll see a live site using the current (v2) framework, so at least it works. Another site written with the v2 framework: http://assolesoisillons.free.fr/
I'm not very organized but if you're interested, I can do my best to help you get started with what I currently have.
The same is true for anyone else.

In short: if you're interested: send a PrivateMessage to me with your email, and I'll answer. Don't be in too much hurry though, because I'll soon change home, so I'm currently preparing the financial aspect of it, after which the hard work part of it will come smile.gif

Yves.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.