[TYPO3-commerce] Request for help: Clean up commerce

Ingo Schmitt is at marketing-factory.de
Thu May 12 12:17:33 CEST 2011


Hi Torben,

have a look at: http://forge.typo3.org/projects/extension-commerce/wiki/Guidelines

Regards

ingo

> Hi Ingo,
> 
> could you also give me information about the review-process as I also want to help cleaning up commerce / fixing bugs.
> 
> Best regards
> Torben
> 
> 
>> -----Ursprüngliche Nachricht-----
>> Von: typo3-project-commerce-bounces at lists.typo3.org [mailto:typo3-project-
>> commerce-bounces at lists.typo3.org] Im Auftrag von Ingo Schmitt
>> Gesendet: Donnerstag, 12. Mai 2011 10:17
>> An: Georg.Schoenweger at gmail.com; TYPO3 commerce extension project
>> Betreff: Re: [TYPO3-commerce] Request for help: Clean up commerce
>> 
>> Hi Georg,
>> 
>> first you should request you membership for commerce in forge. I'll add you to
>> the List of members and give you informations about the review-process.
>> 
>> Regards
>> 
>> ingo
>> 
>>> Hi Christian,
>>> 
>>> great idea! How exactly can i partecipate? Should i upload the patch
>>> file to forge? Or is there possibility to get a Member of the project
>>> in forge with commit rights?
>>> ... and how do i know which file to take care of so we don't work on
>>> the same files ...
>>> switching to fluid is very interesting!
>>> 
>>> i'm currently quite busy but if i find some free time i would like to help!
>>> 
>>> - Georg
>>> 
>>> Am 12.05.2011 01:44, schrieb Christian Kuhn:
>>>> You!
>>>> 
>>>> 
>>>> Maybe you have noticed that I have recently started a massive clean
>>>> up session of commerce code base in svn trunk.
>>>> 
>>>> My motivation: I think that commerce is still the best option for a
>>>> shop system with TYPO3, all other options are even more evil.
>>>> commerce is by design very flexible and versatile. Unfortunatly, the
>>>> given code base is rotten and in a state nobody really likes to work with.
>>>> 
>>>> There are actually three options to deal with this:
>>>> 1: Do not implement a shop in TYPO3
>>>> 2: Rewrite commerce from scratch with a solid code base
>>>> 3: Improve current code base until it fits modern needs
>>>> 
>>>> 1 is no option for me, 2 is too much work until we have a working
>>>> version, 3 is a lot of work too but is based on something that
>>>> sometimes even works now.
>>>> 
>>>> Thus, I've decided for me to hack on commerce for a while to fix some
>>>> things. I we do not do this, this project will be dead in a couple of
>>>> years anyway.
>>>> 
>>>> While there are tons of things to do, I think a clean up of current
>>>> PHP code is TOP 1 priority to lay a foundation for real refactorings.
>>>> We've already cleaned all piX classes some month ago, but a cleanup
>>>> especially of all files in lib/ is even more important.
>>>> 
>>>> An example can be seen with my latest change in revision 47953 where
>>>> I change pretty much every line of
>>>> lib/class.tx_commerce_basic_basket.php, hopefully without breaking
>>>> anything. In effect, this class is now much better readable, mostly
>>>> sticks to current core coding guidelines, and can be reviewed for
>>>> future refactorings.
>>>> 
>>>> Here is my request:
>>>> This cleanup is a tedious task. Help in this area would be great.
>>>> So please, just grab some file from commerce and clean it up. Goal is
>>>> to improve code quality without changing functional behavior:
>>>> - Fix method headers and annotations
>>>> - Fix comments to better english
>>>> - Fix CGL
>>>> - Fix whitespace issues
>>>> - Fix no-brainers
>>>> - Remove commented code blocks
>>>> - Type hinting of input parameters if possible
>>>> - Introduce wisibility of methods and class variables
>>>> - Check for usage of deprecated methods and remove them if possible
>>>> - ...
>>>> 
>>>> Pretty much everyone can participate on this, you should just have an
>>>> idea of how to work with subversion, of TYPO3 core CGL and how to
>>>> create patches. Go ahead!
>>>> 
>>>> Bonus: If you are getting trained on this you will learn a lot about
>>>> current commerce functionality and possibilities. If you are not sure
>>>> about your change, I'll happily review your patches! Just take some
>>>> class and start a session for an hour or so, it is worth it!
>>>> 
>>>> 
>>>> BTW: I'm currently working on changing pi2 (the basket view) to use
>>>> fluid for rendering. I'm already pretty far and will come up with a
>>>> patch somewhere the next days. This change will show on how the whole
>>>> rendering can be improved a lot and removes tons of obsolete marker
>>>> and subpart handling code, while it makes the basket view much more
>>>> flexible, without breaking most business code. If this change works
>>>> out well, we can think on how we can do similar things for other pi
>>>> classes.
>>>> 
>>>> 
>>>> Regards
>>>> Christian
>>>> _______________________________________________
>>>> TYPO3-project-commerce mailing list
>>>> TYPO3-project-commerce at lists.typo3.org
>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerc
>>>> e
>>> _______________________________________________
>>> TYPO3-project-commerce mailing list
>>> TYPO3-project-commerce at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
>>> 
>>> 
>> 
>> 
>> Mit freundlichen Gruessen
>> Ingo Schmitt
>> 
>> *** BITTE BEACHTEN SIE UNSERE NEUE ANSCHRIFT! ***
>> 
>> --
>> Marketing Factory Consulting GmbH  *   mailto:is at marketing-factory.de
>> Marienstrasse 14                   *          Tel.: +49 211-361176-63
>> D-40212 Duesseldorf, Germany       *          Fax:  +49 211-361176-99
>> Amtsgericht Duesseldorf HRB 53971  * http://www.marketing-factory.de/
>> 
>> Geschaeftsfuehrer:    Peter Faisst   |   Katja Faisst
>> Karoline Steinfatt   |   Christoph Allefeld   |   Markus M. Kimmel
>> 
>> _______________________________________________
>> TYPO3-project-commerce mailing list
>> TYPO3-project-commerce at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
> 
> 


Mit freundlichen Gruessen
Ingo Schmitt

*** BITTE BEACHTEN SIE UNSERE NEUE ANSCHRIFT! ***

-- 
Marketing Factory Consulting GmbH  *   mailto:is at marketing-factory.de
Marienstrasse 14                   *          Tel.: +49 211-361176-63
D-40212 Duesseldorf, Germany       *          Fax:  +49 211-361176-99
Amtsgericht Duesseldorf HRB 53971  * http://www.marketing-factory.de/

Geschaeftsfuehrer:    Peter Faisst   |   Katja Faisst
Karoline Steinfatt   |   Christoph Allefeld   |   Markus M. Kimmel



More information about the TYPO3-project-commerce mailing list