phpcompta-contrib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpcompta-contrib] Test d'installation smarty


From: Stan Pinte
Subject: Re: [Phpcompta-contrib] Test d'installation smarty
Date: Mon, 23 Jan 2006 11:29:21 +0100
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dany De Bontridder wrote:

> Stan Pinte writes:
>
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 salut! je suis en
>> train de tester smarty, et j'ai déja un hello world qui
>> fonctionne. ce que j'ai fait: 1: downloadé
>> http://smarty.php.net/do_download.php?download_file=Smarty-2.6.12.tar.gz
>>
>>
>> 2: décompressé n'importe ou 3: copié SMARTY_UNCOMPRESS_DIR/libs/*
>> vers PHPCOMPTA_ROOT/smarty 4: ajouté "../smarty" dans mon
>> include_path dans php.ini 5: ajouté
>> PHPCOMPTA_ROOT/html/smarty_test.php 6: ajouté
>> PHPCOMPTA_ROOT/templates/index.tpl 7: ajouté
>> PHPCOMPTA_ROOT/compile/ et PHPCOMPTA_ROOT/cache/ - --> obtenu "
>> Hello, Ned!", le résultat espéré. --> smarty marche, c'est con
>> comme chou à installer, et on peut l'inclure dans la distro
>> phpcompta, pas besoin de quelque dépendance que ce soit vis-à-vis
>> de redhat, debian, ou du pape. je vais investiguer des
>> refactorings incrémentiels. Dany? Ton avis?
>
> Je suis curieux: toi tu penses que smarty est une bonne idée, moi
> je crois que la charge de travail pour n'utiliser que smarty va
> être important.

je pense que le bénéfice à long terme est plus grand que l'effort. (je
peux me tromper)

> Si tu pouvais continuer l'expérimentation, je suis assez curieux.

c'est mon but

> Quelle serait la charge de travail ? Les avantages pour
> phpcompta.org (avantages pratiques pas théoriques ;) )?

Je propose de commencer les changements de manière incrémentielles,
petit à petit (une fonction/page par une)

> Pourrais-tu regarder ListJrn() et voir comment la convertir pour
> que cette fonction qui affiche la liste des opérations, pourrait
> bénéficier de smarty, cette fonction est assez important et un peu
> épineuse.

ok, je te ferais dans les jours qui viennent une proposition de patch.

> Et alors, la classe widget (de phpcompta), réécrire ou supprimer
> ???

à mon avis laisser tomber peu à peu au bénéfice de fonctions smarty
(http://smarty.php.net/manual/fr/language.custom.functions.php) comme
http://smarty.php.net/manual/fr/language.function.html.options.php,
qui font la même chose (d'après ce que j'en comprends).

> @+, D. PS: sorry, j'ai pas beaucoup de temps pour l'instant ;)

aucun problème pour le temps, Dany, chacun fait ce qu'il peut!!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD1LAB/PmuubxPWAIRAszKAJ91kLtG+6OqdRar0DiNZNuIJgi2MgCfe5Nb
Cb6jdfVxUP0xpXzdBbPZ/O4=
=nfsy
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]