[Phpmyadmin-devel] Transition to template-based framework

Marc Delisle marc at infomarc.info
Tue Mar 9 14:46:03 CET 2010


Michael Keck a écrit :
> Hello,
> 
> Am 09.03.2010 14:19, schrieb Michal Čihař:
>> Hi
>>
>> Dne Mon, 08 Mar 2010 18:26:36 +0100
>> Michael Keck <sfnet at michaelkeck.de> napsal(a):
>>   
>>> ... if I should use a PHP-Framework, I'm thinking we should use the newest
>>> Symfony and if released I would prefer use Symfony Reloaded 2.0
>>> (http://symfony-reloaded.org/). The final release of Reloaded 2.0 is
>>> planned for
>>> *late 2010* and will only support *PHP 5.3.2*. This mean I (and others
>>> to) would
>>> have more time for integrate Symfony in PMA.
>>>     
>> Maybe it was not clear from me, but I think that we should really go
>> just to templates, because using some framework would require much more
>> changes in the code.
>>   
> Okay I see this point ... then I will start with Twig.

Michael,
what is your plan? When someone downloads a future phpMyAdmin, will he 
get plain PHP that was compiled by Twig from the code base + templating 
syntax, or will he get the code base + templating syntax itself?

(I have not experienced Twig yet, just read a bit on their site).


>>> Should we open a separated development folder for this project?
>>>     
>> Just a separate branch. Preferably wait with creating it after moving
>> to git (I'll post schedule later today).
>>   
> No problem I can wait .... (I've not done anything cause im clonig at
> moment). But
> many thanks.
>>> Is it possible to make discussion about comments for html-output? It
>>> would be
>>> helpfull for me, to search in whole PMA-Scripts for it, and then sperate
>>> PHP from
>>> HTML. Many Thanks ;)
>>>     
>> I don't know what kind of comments you want, but as HTML output is
>> really spread around the code, adding comments to identify it and then
>> separate it in another step looks like double work.
>>   
> I mean: if html is generated with php (like echo/print ...) * only in
> new code *,
> that would help me. Not in the current code, thats overkill ;)
> I prefer: /* <!-- HTML OUTPUT --> */ in php code. For direct HTML output
> (not with
> php echo/print etc.) I'm have a good script to search after in my IDE ;)


-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list