Slide 1

Slide 1 text

by kiang @ phpconf taiwan 2013 Magento Extension

Slide 2

Slide 2 text

Who is kiang? ● Google “Finjon Kiang” → About 85,100 results (0.27 seconds) @ 00:42 today ● Taiwan PHP User Group → http://twpug.net ● Just This Computer Studio → http://olc.tw ● Just Play → http://travel.olc.tw

Slide 3

Slide 3 text

Why English? Because my English is poor. I need more practices, Sorry for those who hate English.

Slide 4

Slide 4 text

Why Magento? ● 169,571 live websites using Magento today → http://trends.builtwith.com/shop/Magento ● Magento ran on 11% of the top 10K sites → http://trends.builtwith.com/shop ● Some customers said “Hey, we want to use Magento” ...This is a real life

Slide 5

Slide 5 text

Slide 6

Slide 6 text

true community

Slide 7

Slide 7 text

Slide 8

Slide 8 text

Slide 9

Slide 9 text

standard Olctw_Phpconf phpconf

Slide 10

Slide 10 text

Slide 11

Slide 11 text

Slide 12

Slide 12 text

loadLayout(); $block = $this->getLayout()->createBlock('core/text')->setTex t('hello world'); $this->getLayout()->getBlock('content')->append($ block); $this->renderLayout();

Slide 13

Slide 13 text

Slide 14

Slide 14 text

Slide 15

Slide 15 text

Olctw_Phpconf_Block

Slide 16

Slide 16 text

Slide 17

Slide 17 text

Slide 18

Slide 18 text

getLayout()->createBlock('core/text')->setTex t('hello world'); → $block = $this->getLayout()->createBlock('Olctw_Phpconf/hell o');

Slide 19

Slide 19 text

Slide 20

Slide 20 text

loadLayout(); $this->renderLayout(); }

Slide 21

Slide 21 text

olctw_phpconf.xml

Slide 22

Slide 22 text

Slide 23

Slide 23 text

Slide 24

Slide 24 text

Slide 25

Slide 25 text

Slide 26

Slide 26 text

Slide 27

Slide 27 text

Slide 28

Slide 28 text

Slide 29

Slide 29 text

Slide 30

Slide 30 text

getStore()->getName(); }

Slide 31

Slide 31 text

getStoreName(); ? >

Slide 32

Slide 32 text