Arhive categorie: Magento

Certificate Magento – tot ce trebuie sa stii pentru a trece examenul

Lucrez de ceva timp in Magento 1.9 CE.  De multe ori am zis ca imi voi aloca timp pentru a studia ce ar trebui sa cunosc pentru a putea deveni un developer certificat Magento. Am adunat cate ceva si vreau sa va expun si voua in cazul in care sunteti interesati.

Mai intai ar trebui sa va hotarati care dintr cele 4 certificati ati vrea sa le obtineti. Acestea le puteti gasi aici:

https://u.magento.com/certification

 

Magento Certified Solution Specialist

Magento Certified Solution Specialist

Magento Solution Specialists who achieve this certification have demonstrated a thorough understanding of Magento’s functionality to ecommerce business goals according to best practices


$260

 

Front End Developer Certification

Front End Developer Certification

Now it’s time to prove you’re a well-trained Magento front end developer! Demonstrate your understanding of Magento’s theming components and the ability to modify the user interface according to best practices.


$260
Certified Developer and Developer Plus

Certified Developer and Developer Plus

Developers who pass one of the exams can use the valued Magento Certified Developer credential in marketing their services. There are two exams in the Magento Certified Developer portfolio.


$260

Magento Moderated Certification Study Group (Social Learning)

Study for the Magento Developer Certification exam with help from the Magento team!

$500

 

In momentul scrierii acestui articol examenul consta in intrebari din Magento 1.9 CE si Magento 1.3, 1.4 EE. Ok ce trebuie sa stii pentru a putea trece examenul:

  1. Chestii de baza 6% din examen
  2. Cursul requesturilor (Request flow) 7% din examen
  3. Randare (rendering) 7% din examen
  4.  Modul de lucru cu baze de date in magento 13% din examne
  5. Modelul EAV , predominant in Magento, sau Entity-Attribute-Value – 10% din examen
  6. Adminhtml – 7% din examen
  7. Catalog si tot ce insemna produse, atribute, seturi de atribute – 10% din examen
  8. Checkout cam 16% din examen
  9. Vanzari si client – 11% din examen
  10. Functionalitati avansate – 13% din examen
  11. Editia pentru intreprinderi EE – 9% din examen
  12. Intrebari capcana – 8% din examen

Practic trebuie sa stii tot…nu te poti baza pe o singura parte din magento deoarece procentele sunt foarte apropiate – chiar daca sa spune checkout are 16% si notiunile de baza doar 6%. Mai multe detalii gasiti aici http://www.magestudyguide.com/

Multe din notiunile pe care trebuie sa le stii le gasiti explicate mult mai in detaliu prin articole specifice aici: http://blog.belvg.com/category/magento-news/developer-certification

Un document foarte bun care desi are 80 de pagini subiectele nu sunt tratate indeajuns de bine pentru a putea sustine examenul dar sunt foarte sigur ca asta este punctul de pornire.

Magento-Extension-Developers-Guide-v1.0

in caz ca nu functioneaza -> sursa directa http://info2.magento.com/rs/magentosoftware/images/Magento-Extension-Developers-Guide-v1.0.pdf#page=5&zoom=auto,-265,690

Alte linkuri utile:

http://magext.com/blog/magento-certification-preparation-study-guide-answers/

https://magento.com/resources/technical

Desigur Alan Storm: http://alanstorm.com/category/magento/

 

Creeaza foreign key in installer magento

In installerul modului presupunem ca ati creat un tabel –

$installer = $this;

$installer->startSetup();

$moduleTableName = $installer->getTable('mymodule/mymodule');
if($installer->getConnection()->isTableExists($moduleTableName) != true) {
    $table = $installer->getConnection()
        ->newTable($moduleTableName);
$installer->getConnection()->createTable($table);

Pe una din coloanele create doriti sa creati un foreign key -> asemanator

->addColumn('created_at', Varien_Db_Ddl_Table::TYPE_DATETIME, null, array(
    'nullable'  => false,
), 'Created at')

exista (->addForeignKey())

->addForeignKey(
    $installer->getFkName(
        'mymodule/mymodule',
        'product_id',
        'catalog/product',
        'entity_id'
    ),
    'product_id', $installer->getTable('catalog/product'), 'entity_id',
    Varien_Db_Ddl_Table::ACTION_CASCADE, Varien_Db_Ddl_Table::ACTION_CASCADE
);

 

Adauga breadcrumb in cont magento

Cauta in pachetul tau de tema magento /app/design/frontend/your_interface/your_theme/layout/ fisierul local.xml

local.xml
1
2
3
< ?xml version=„1.0”?>
<layout version=„0.1.0”>
</layout>

ATENTIE! Trebuiesc sterse tagurile <default></default>

Adaugati pentru panoul de control

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
< ?xml version=„1.0”?>
<layout version=„0.1.0”>

<customer_account translate=„label”>

    <reference name=„breadcrumbs”>
        <action method=„addCrumb”>
            <crumbname>Home</crumbname>
            <crumbinfo>
                <label>Home</label>
                <title>Home</title>
                <link />/
            </crumbinfo>
        </action>
        <action method=„addCrumb”>
            <crumbname>My Account</crumbname>
            <crumbinfo>
                <label>My Account</label>
                <title>My Account</title>
                <link />/customer/account/
            </crumbinfo>
        </action>
    </reference>
</customer_account>
</layout>

Ar trebui sa vedeti acum:

breadcrumb-magento

Source: http://www.douglasradburn.co.uk/adding-breadcrumbs-to-customer-account-pages-in-magento/