PHP: Kahi puke maikaʻi a me MVC Framework no PHP

ʻO nā poʻe ma kahi Paʻi Paʻi Packt i kahi pou hou kahi e paipai nei i nā mea hoʻomohala / blog blog PHP e heluhelu i kahi puke hou a me ka blog e pili ana iā ia. Mahalo nui wau i nā manawa kūpono e like me kēia - ʻaʻole i noi ka mea maikaʻi a maikaʻi ʻole paha i ka hoʻouna ʻana, kahi loiloi pono wale nō o ka puke a lākou e hāʻawi ai (me ka uku ʻole).

1847191746ʻO ka puke i loaʻa iaʻu CodeIgniter no ka Hoʻolālā Polokalamu Rapid PHP, i kākau ʻia e David Upton.

ʻO kaʻu puke punahele ma PHP / MySQL mau nō PHP a me MySQL Pūnaewele Hoʻolālā. ʻO PHP 101 a me MySQL 101 āpau i wahī ʻia i loko o kahi puke maikaʻi a piha me nā tona o nā hōʻailona code. He mahalo piha ʻo CodeIgniter, malia paha he alakaʻi ʻo PHP 201. Lawe ʻia nā PHP paʻakikī paʻakikī āpau a hāʻawi i kahi hoʻolālā e hoʻomohala i ke code wikiwiki a me nā hana ʻoi loa o ka MVC nenoaiu.

Wahi a Wikipedia:

Model-view-Controller (MVC) kahi hoʻolālā hale i hoʻohana ʻia i ka ʻenekini lako polokalamu. I nā polokalamu kamepiula paʻakikī e hōʻike nei i ka nui o ka ʻikepili i ka mea hoʻohana, makemake pinepine ka mea hoʻomohala e hoʻokaʻawale i ka ʻikepili (k modelkohu) a me ke ʻano o ka hoʻohana (nānā) i mea e pilikia ai nā hoʻololi i ka ʻikepili hoʻohana i ka mālama ʻana i ka ʻikepili, a ʻo ka ʻikepili hiki ke hoʻonohonoho hou ʻia me ka ʻole o ka hoʻololi ʻana i ke ʻano o ka mea hoʻohana. Hoʻoholo ka mea hoʻohālikelike-nānā i kēia pilikia ma ka wehe ʻana i ka ʻike ʻikepili a me ka loiloi ʻoihana mai ka hōʻike ʻikepili a me ka launa pū ʻana o ka mea hoʻohana, e ka hoʻolauna ʻana i kahi mea waena: ka luna

Ma waho o ke kākau maikaʻi ʻia ʻana me nā tona o nā hiʻohiʻona honua maoli, ʻo kekahi o nā mea aʻu e makemake nui ai e pili ana i kēia puke, ʻo ia ka wehewehe ʻana i ka mea ʻole. Kuleana Kumuhana kahi papa hana wehe hamama i ulu ʻia e ka home. E like me ia, ua ʻae ʻia kekahi mau palena. Hele kikoʻī ka puke i kēia mau mea. ʻO nā palena ʻelua aʻu i ʻike ai ʻo ka nele o nā mea hiki ke komo i ka hōʻike o nā ʻanohana hoʻopili mea hoʻohana e like me nā heleuma, nā papa a me nā palapala a me nā kuhikuhi e pili ana i nā XML REST API kahiko a me nā lawelawe pūnaewele. Eia nō naʻe, manaʻoʻiʻo wau e hoʻohui maʻalahi ʻia kēlā mau koho i nā mana e hiki mai ana - e ʻike mākou!

ʻO ka ʻāpana piha loa o CodeIgniter, i koʻu manaʻo, ʻo ia ka waihona waihona pūnaewele. ʻIke wau i ke kākau ʻana i nā pilina MySQL a me nā nīnau he manawa nui ka hana a me ka hana. Makemake wau e ʻeli koke i CodeIgniter e hoʻohana ai i kā lākou papahana database, manaʻo wau e mālama ia iaʻu i kahi ton o ka manawa - keu hoʻi i ke kākau ʻana / kākau hou ʻana i nā nīnau! Aia kekahi mau mea hoʻohui maikaʻi loa no Ajax, JChart a me nā kiʻi kiʻi.

Inā paha e kamaʻilio ana wau ma kahi o CodeIgniter ma mua o ka puke, ʻoiaʻiʻo ʻelua ma ka like. He ala maikaʻi loa ka puke e aʻo ai i nā ʻenehana hoʻomohala holomua, ʻaʻole naʻe e hoʻohana ana iā CodeIgniter. Paipai nui wau i ka puke. Ua ʻōlelo ka puke "E hoʻomaikaʻi i kāu huahana coding PHP me kahi kumu manuahi MVC CodeIgniter framework!". He ʻoiaʻiʻo kēia!

Inā makemake ʻoe i CodeIgniter, e nānā pono i ka Video Hoʻomaka.

2 Comments

  1. 1

    The goal of a framework is to make the process of writing web-based applications simpler.

    An application designed around MVC is easier to manage because it is split into tiers, which allow for independent development. This promotes code reusability by building models, which are reusable throughout the application.

  2. 2

    The goal of a framework is to make the process of writing web-based applications simpler.

    An application designed around MVC is easier to manage because it is split into tiers, which allow for independent development. This promotes code reusability by building models, which are reusable throughout the application.

Pehea kou manaʻo?

Ke hoʻohana nei kēia pūnaewele i ka Akismet e ho'ēmi i ka spam. E aʻo pehea e hanaʻia ai kāuʻikeʻikepili.