{"id":928,"date":"2013-08-03T06:37:00","date_gmt":"2013-08-03T06:37:00","guid":{"rendered":"http:\/\/musilda.cz\/?p=928"},"modified":"2013-08-03T06:37:00","modified_gmt":"2013-08-03T06:37:00","slug":"theme-frameworky-pro-wordpress","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/theme-frameworky-pro-wordpress\/","title":{"rendered":"Theme Frameworky pro WordPress"},"content":{"rendered":"

Framework pro WordPress je pojem, kter\u00fd je zn\u00e1m ji\u017e dlouho, co vlastn\u011b frameworky jsou a jak\u00e9 jsou v\u00fdhody, \u010di nev\u00fdhody pou\u017eit\u00ed p\u0159i vytv\u00e1\u0159en\u00ed nov\u00fdch \u0161ablon a vzhled\u016f?<\/p>\n

Nejprve, co to framework jako takov\u00fd je. Jedn\u00e1 se v podstat\u011b o knihovnu p\u0159ipraven\u00fdch funkc\u00ed, kter\u00e9 umo\u017e\u0148uj\u00ed v\u011bnovat se v\u00fdvoji aplikace a ne st\u00e1le dokola vym\u00fd\u0161let ji\u017e hotov\u00e9 funkce. Jedn\u00edm ze zn\u00e1m\u00fdch framework\u016f je Nette. Dalo by se \u0159\u00edci, \u017ee pro mnoho developer\u016f je samotn\u00fd WordPress framework.<\/p>\n

Co se v\u0161ak mysl\u00ed, pokud se \u0159ekne framework pro WordPress? P\u0159ed chv\u00edli jsem psal, \u017ee on samotn\u00fd je vlastn\u011b framework. V Codexu se m\u016f\u017eeme do\u010d\u00edst, \u017ee pod t\u00edmto pojmem jsou my\u0161leny dv\u011b v\u011bci.<\/p>\n

1. Knihovna funkc\u00ed, kter\u00e1 umo\u017e\u0148uje jednodu\u0161\u0161\u00ed v\u00fdvoj \u0161ablon.<\/p>\n

2. Ji\u017e hotov\u00e1 \u0161ablona, kter\u00e1 je v\u011bt\u0161inou navr\u017eena co nejuniverz\u00e1ln\u011bji a z se odvozuj\u00ed dal\u0161\u00ed, takzvan\u00e9 child themes.<\/p>\n

Pou\u017e\u00edvat, \u010di nepou\u017e\u00edvat?<\/h2>\n

To je ta spr\u00e1vn\u00e1 ot\u00e1zka. J\u00e1 osobn\u011b frameworky nepou\u017e\u00edv\u00e1m, ale ob\u010das se pod\u00edv\u00e1m na pou\u017eit\u00e9 postupy, proto\u017ee tv\u016frci nejsou \u017e\u00e1dn\u00e1 o\u0159ez\u00e1v\u00e1tka a d\u00e1 se od nich hodn\u011b nau\u010dit.<\/p>\n

V\u00fdhody:<\/strong><\/p>\n

Jasnou v\u00fdhodou je, \u017ee odpadne nutnost v\u00fdvoje vlastn\u00ed struktury \u0161ablony a jej\u00edch funkc\u00ed. Pot\u0159ebujete ud\u011blat nap\u0159\u00edklad v\u00fdpis \u010dl\u00e1nk\u016f na str\u00e1nce? Nem\u00e1 na to n\u00e1hodou framework vlastn\u00ed funkci? M\u00e1? Tak super a m\u00e1me hotovo. Pokud je produkt dostate\u010dn\u011b kvalitn\u00ed a m\u00e1 dobrou dokumentaci, m\u016f\u017eete se soust\u0159edit na v\u00fdvoj pro koncov\u00e9ho z\u00e1kazn\u00edka.<\/p>\n

Nev\u00fdhody:<\/strong><\/p>\n

Jste omezeni rozsahem knihovny a mus\u00edte se nau\u010dit postupy a „interface“ konkr\u00e9tn\u00edho producenta. \u010c\u00e1sti k\u00f3du jsou tak\u00e9 nep\u0159enosn\u00e9. Pokud vytvo\u0159\u00edte n\u011bjakou funkci, kter\u00e1 bude vyu\u017e\u00edvat funkce z frameworku, jinde ji nepou\u017eijete. Pokud budete nuceni \u0159e\u0161it probl\u00e9m, kter\u00fd nen\u00ed v knihovn\u011b obsa\u017een, stejn\u011b se budete muset nau\u010dit funkce WordPressu.<\/p>\n

Shrnut\u00ed:<\/strong><\/p>\n

Pokud nechcete b\u00fdt z\u00e1visl\u00ed na tom, zda knihovna obsahuje to co pot\u0159ebujete a r\u00e1di m\u00e1te naprostou kontrolu, nad v\u0161\u00edm co d\u011bl\u00e1te, nen\u00ed framework pro v\u00e1s vhodn\u00fd.<\/p>\n

Jestli\u017ee chcete produkovat \u0161ablony co nejjednodu\u0161\u0161\u00edm zp\u016fsobem a nechcete se zdr\u017eovat vytv\u00e1\u0159en\u00edm vlastn\u00edch postup\u016f, vyu\u017eijte framework. Uvid\u00edte, \u017ee v\u00e1s p\u0159ekvap\u00ed, jak snadno se d\u00e1 takov\u00e1 \u0161ablona pomoc\u00ed frameworku vytvo\u0159it.<\/p>\n

D\u00e1 se \u0159\u00edci, \u017ee ka\u017ed\u00e1 \u0161ablona, kterou vytvo\u0159\u00edte tak, aby jste ji pozd\u011bji jen p\u0159epracov\u00e1vali do jin\u00fdch podob, je takov\u00fd framework pro WordPress. Nezam\u011b\u0148ovat s frameworky, jako jsou Zend, nebo Nette, to se opravdu ned\u00e1 srovn\u00e1vat.<\/p>\n

P\u016fvodn\u011b jsem zde cht\u011bl \u010dl\u00e1nek ukon\u010dit, ale po shl\u00e9dnut\u00ed vide\u00ed, vyzkou\u0161en\u00ed n\u011bkolika „framework\u016f“, mus\u00edm \u010dl\u00e1nek doplnit o m\u016fj pocit z toho co je vlastn\u011b vyd\u00e1v\u00e1no za WordPress frameworky. T\u00e9m\u011b\u0159 ka\u017ed\u00e9 studio, kter\u00e9 vytvo\u0159\u00ed \u0161ablonu a do n\u00ed um\u00edst\u00ed v\u00edce funkc\u00ed a mo\u017enost\u00ed, jak nastavovat a upravovat \u0161ablonu, m\u00e1 sv\u016fj framework. P\u0159ipom\u00edn\u00e1 mi to situaci, kdy v\u0161echno je startup.<\/p>\n

V\u0161echny ty Drag and drop buildery a Non programing frameworks jsou jen souhrny widget\u016f a shortcod\u016f, kter\u00e9 „nah\u00e1z\u00edte“ do r\u00e1mce str\u00e1nky. Pod\u00edvejte se na n\u011bkter\u00e9 \u0161ablony na Themeforest. Kolik maj\u00ed mo\u017enost\u00ed nastaven\u00ed a \u00faprav. Sm\u011ble by se daly tak\u00e9 za frameworky ozna\u010dit. Tak\u017ee celkov\u00fd dojem po dokon\u010den\u00ed tohoto \u010dl\u00e1nku je roz\u010darov\u00e1n\u00ed. Krom\u011b Genesis mne neoslovil \u017e\u00e1dn\u00fd produkt a v seznamu je uv\u00e1d\u00edm, proto\u017ee pro toho, kdo chce vytv\u00e1\u0159et \u0161ablony bez nutnosti znalosti k\u00f3du a programov\u00e1n\u00ed, pro toho jsou p\u0159\u00ednosem. J\u00e1 si framework p\u0159edstavuji jinak. Tak\u017ee za mne Genesis a pak dlouho nic.<\/p>\n

Nejzn\u00e1m\u011bj\u0161\u00ed frameworky pro WordPress<\/h2>\n

Genesis<\/h2>\n

\"\"<\/a><\/p>\n

Asi nejzn\u00e1m\u011bj\u0161\u00ed framework pro WordPress, lze pro n\u011bj nal\u00e9zt i \u0159adu plugin\u016f, na WordPress.org jsem jich na\u0161el v\u00edce ne\u017e 150. Cena je necel\u00fdch 60 dolar\u016f.<\/p>\n

iBuilder framework<\/h3>\n

\"\"<\/a><\/p>\n

iBuilder je jeden z \u0159ady framework\u016f, kter\u00e9 umo\u017e\u0148uj\u00ed vytvo\u0159en\u00ed vlastn\u00edho vzhledu, bez nutnosti k\u00f3dov\u00e1n\u00ed a znalosti programov\u00e1n\u00ed.<\/p>\n

Headway<\/h3>\n

\"\"<\/a><\/p>\n

Drag and drop syst\u00e9m, kter\u00fd umo\u017e\u0148uje vytv\u00e1\u0159en\u00ed \u0161ablon bez nutnosti k\u00f3dov\u00e1n\u00ed a programov\u00e1n\u00ed. D\u00e1 se \u0159\u00edci, \u017ee jste omezeni jen svou kreativitou.<\/p>\n

MySiteMyWay<\/h3>\n

\"\"<\/a><\/p>\n

Tento syst\u00e9m, tak\u00e9 umo\u017e\u0148uje vytv\u00e1\u0159en\u00ed mnoha vzhled\u016f a variant \u0161ablon, nav\u00edc m\u00e1 pom\u011brn\u011b mas\u00edvn\u00ed z\u00e1sobu shortcod\u016f. Op\u011bt nemus\u00edt um\u011bt programovat a k\u00f3dovat.<\/p>\n

Pagelines<\/h3>\n

\"\"<\/a><\/p>\n

Dal\u0161\u00ed varianta drag and drop page builderu, vytvo\u0159\u00edte si \u0161ablonu, jakou budete cht\u00edt.<\/p>\n

Thesis 2.0<\/h3>\n

\"\"<\/a><\/p>\n

Jako posledn\u00ed zde uv\u00e1d\u00edm Thesis 2.0, kter\u00fd byl dlouhou dobu pova\u017eov\u00e1n za nejlep\u0161\u00ed framework pro WordPress, ale nakonec ho v popularit\u011b p\u0159edstihl Genesis. Cena je 87 dollar\u016f.<\/p>\n

 <\/p>\n

 <\/p>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

Framework pro WordPress je pojem, kter\u00fd je zn\u00e1m ji\u017e dlouho, co vlastn\u011b frameworky jsou a jak\u00e9 jsou v\u00fdhody, \u010di nev\u00fdhody pou\u017eit\u00ed p\u0159i vytv\u00e1\u0159en\u00ed nov\u00fdch \u0161ablon a vzhled\u016f? Nejprve, co to framework jako takov\u00fd je. Jedn\u00e1 se v podstat\u011b o knihovnu p\u0159ipraven\u00fdch funkc\u00ed, kter\u00e9 umo\u017e\u0148uj\u00ed v\u011bnovat se v\u00fdvoji aplikace a ne st\u00e1le dokola vym\u00fd\u0161let ji\u017e hotov\u00e9<\/p>\n","protected":false},"author":1,"featured_media":931,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[492],"class_list":["post-928","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-wordpress-framework"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/928"}],"collection":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/comments?post=928"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/928\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media\/931"}],"wp:attachment":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media?parent=928"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=928"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}