Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Overview of Magento codebase
 
typemismatch
Member
 
Avatar
Total Posts:  34
Joined:  2007-09-19
 

I can’t find any documentation about the code design of Magento - could someone post a Wiki page or doc. It would be a great help to understand the system and where to find files for customization of the base.

I recognize a style (MVC) very similar to RoR but can’t find the views ;-0

Maybe much of this is based of Zend in which case just tell me and I’ll go look there.

thanks!
Craig

 
Magento Community Magento Community
Magento Community
Magento Community
 
YoavKutner
Guru
 
Avatar
Total Posts:  491
Joined:  2007-08-08
 

We are working on the documentation of Magento.

It should be made available soon.

Thanks yoav

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

You can meanwhile take a look at the wiki articles, particularly:
http://www.magentocommerce.com/wiki/Magento-folder-structure/
http://www.magentocommerce.com/wiki/Designing-for-Magento/

And of course you can always ask specific questions smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
typemismatch
Member
 
Avatar
Total Posts:  34
Joined:  2007-09-19
 

I can be specific wink

I wanted to help finish some admin buts like adding currencies - did it via the db but thats cheating! managed to turn the button back on etc, haven’t gone much further.
I also wanted to add google checkout support so was trying to find the modules responsible for payments smile

by the way, is there a reason why the /skins are located outside the package structure?

thanks!
Craig

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

@typemismatch: we are keeping it separate so the stuff that doesn’t have to be in web document root will be out of it.

So we need to have available for browser:
index.php
js/
skin/
media/
favicon.ico

Everything else can be moved somewhere else and used as a single instance for multiple domains for example.

When module/package install/upgrade module will be ready it will distribute files automatically, so no need to worry about this.

More information: http://www.magentocommerce.com/wiki/Magento-folder-structure/

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

@typemismatch: and of course it is easy to configure to have skins in same folder structure if desired smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
typemismatch
Member
 
Avatar
Total Posts:  34
Joined:  2007-09-19
 

Thanks - that is a really nice feature splitting things up like that. So in the root index.php if I change the require parameters I could specify a shared path?

-c

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

@typemistmatch: in index.php you can specify the store you are running and configuration path.

Everything else you can configure in local.xml or db (core_config_data)

There’s also Admin / System / Configure / System / Filesystem

 
Magento Community Magento Community
Magento Community
Magento Community
 
typemismatch
Member
 
Avatar
Total Posts:  34
Joined:  2007-09-19
 
Moshe - 20 September 2007 06:00 PM

You can meanwhile take a look at the wiki articles, particularly:
http://www.magentocommerce.com/wiki/Magento-folder-structure/
http://www.magentocommerce.com/wiki/Designing-for-Magento/

And of course you can always ask specific questions smile

Hey, what happened to the designing page? I cannot find it wink
http://www.magentocommerce.com/wiki/Designing-for-Magento/

thanks
-c

 
Magento Community Magento Community
Magento Community
Magento Community
 
Travis
Sr. Member
 
Avatar
Total Posts:  125
Joined:  2007-08-31
 

Here, searchy, searchy, searchy, searchy.  wink

http://www.magentocommerce.com/wiki/how-to/designing/designing-for-magento?s=designing

 
Magento Community Magento Community
Magento Community
Magento Community
 
typemismatch
Member
 
Avatar
Total Posts:  34
Joined:  2007-09-19
 

haha thanks - I did search! it keeps returning the missing link wink

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top