Magento

eCommerce Software for Online Growth

Magento Forum

From setting up your store to managing your products, pages and promotions to generating detailed reports, the Magento User Guide empowers the user to utilize the platform for all of its vast capacity.
Available in eBook and Print formats – Download Now!!!
   
External Howto for Magento Structure and Programming? 
 
csimon
Jr. Member
 
Total Posts:  12
Joined:  2009-05-04
 

Hi,

first of all, yes i know the Wiki, but is there any real howto which explains the Modular Structure of Magento for Developers?

Magento is great, but it’s hard for new developers to get into the software. I don’t even know how to insert something into my tables in the Database because i can’t find the right resource string and syntax for inserts. Selecting isn’t a problem, but i only got to know how it works by looking at some example codes of other modules.

I would appreciate any kind of tutorial or example, even if it’s not in the Wiki. And yes, i know the “Create module with custom database"-Page at the Wiki and it helped me at my first steps.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brent W Peterson
Guru
 
Avatar
Total Posts:  569
Joined:  2009-02-26
Minneapolis MN
 

Here is a down and dirty way to insert

try{
        $write 
Mage::getSingleton('core/resource')->getConnection('core_write');
        
$write->query("INSERT into Customer_Catalog_Request".
                
"(CustName, CustAd1, CustAd2, CustCity, CustState, CustZip, CustEmail)".
                
" values('".$name."','".$ad1."','".$ad2."','".$city."','".$state."','".$zip."','".$email."')");
    
}
    
catch(exception $e)
    
{
        
echo 'An error occured at '.$e;
    
}

 Signature 

Brent W. Peterson S.C.J.E.
What did I just finish?:Midwest Supplies.com
What am I working on now?: Sizzlepicks.com
What cool thing did I do lately?:Really cool quick order form
My James Joyce Quote:He found in the world without as actual what was in his world within as possible.

 
Magento Community Magento Community
Magento Community
Magento Community
 
MageParts
Guru
 
Avatar
Total Posts:  341
Joined:  2007-11-18
 

Don’t give up, Magento is awesome smile. I’ve been at it for over a year now and I’m loving it. Although, it did take me a while as well to get comfterable with the programming structure though. Especially since I really hadn’t been using any frameworks before. I learned a lot from Magento though wink. And if you need help getting started, this might be a good solution: http://www.phparch.com/c/books/id/9780973862171. I’ve read part of it and It’s pretty helpful.

 Signature 

MageParts offers professional Magento consulting services to a fair price. Check out our services and extensions at http://www.mageparts.com/. We look forward to hearing from you.

Latest extension: MageParts CMS

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
© Copyright 2010 Magento Inc.
Privacy Policy|Terms of Service
Magento Community Count
194517 users|1372 users currently online|365396 forum posts