TomatoCart

65370 Downloads
480 users online
TomatoCart Community
Welcome, Guest
Please Login or Register.    Lost Password?
Bookmark and Share

Coding standards
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Coding standards
#2670
Coding standards 1 Year, 5 Months ago Karma: 1
Currently if you look at the code of tomatocart it's sometimes very messy. That's why I suggest to use coding standard to have more readable code.

What bothers me the most are the following things:

  • Use correct indenting (I suggest on taking tabs as 4spaces) (replace tabs by spaces also!)

  • write comments. This is a very important thing if you want other developers to join coding. I can't find any descend comment in the project classes etc. Comment every function / class and inline with code. This will help other developers



I think the team should adapt these rules. It would be better for the community. Maybe you can use a tool as codesniffer together with eclipse, so you can directly see where you violate the coding standards. Try to make some rules in a sniff file and use it within eclipse by all team members.

Here is the link of Codesniffer.
Hope the team will adapt this best practice

Greets,
Ward Loockx
E-volutions
Gold Boarder
Posts: 294
graphgraph
User Offline Click here to see the profile of this user
Gender: Male TomatocartHosting ward@e-volutions.be Location: Belgium, Leuven
Last Edit: 2010/08/20 06:59 By E-volutions.

TomatocartHosting launching soon!


The administrator has disabled public write access.
 
Go to top Page: 1
Moderators: mkorayt, GuyaneseG

Latest Blog Post

TomatoCart v2.0 – An open source ecommerce framework

Since the TomatoCart v1.0’s framework getting old and the core is not a pure MVC design, it causes many troubles ...

Blog | Administrator | Saturday, 21 January 2012

More in: About Us

-
+
3

contact_us

TomatoCart
+86-13771170725
info@tomatocart.com
http://www.tomatocart.com

Newsletter Subscription

Name:

E-Mail:

Verification Code:
Captcha

Receive HTML?