没有合适的资源?快使用搜索试试~ 我知道了~
PHP.7.Object-Oriented.Modular.Programming.B01E
需积分: 10 38 下载量 20 浏览量
2016-04-22
12:05:58
上传
评论
收藏 1.1MB PDF 举报
温馨提示
试读
241页
There are quite a number of PHP books on the market today. What makes this book any different than any other? This book uses the concept of “learning by doing,” which shows the reader how to develop applications with conditional statements, loops, arrays, and methods. Over 70 PHP methods (functions) are introduced and demonstrated in coding examples. Table of Contents Chapter 1: An Introduction to PHP 7 Chapter 2: Interfaces, Platforms, Containers, Three Tier Programming Chapter 3: Modular Programming Chapter 4: Secure User Interfaces Chapter 5: Handling and Logging Exceptions Chapter 6: Data Objects Chapter 7: Authentication Chapter 8: Multifunctional Interfaces
资源推荐
资源详情
资源评论
TherearequiteanumberofPHPbooksonthemarkettoday.Whatmakesthisbookany
differentthananyother?Thisbookusestheconceptof“learningbydoing,”
whichshowsthereaderhowtodevelopapplicationswithconditionalstatements,loops,
arrays,andmethods.Over70PHPmethods(functions)areintroducedanddemonstrated
incodingexamples.
Fromtheveryfirstexamples,thereaderisintroducedtoobject-orientedprogramming
techniques.ManyotherbooksonlybrieflycoverOOprogramming(ifatall)inthefinal
chapters.
Object-orientedsetmethodsareusedtoverifyandfilteruserinput.Manyotherbooks
simplyshowasetmethodacceptingdataandstoringit.
Amajorobjectiveofthebookistoconvincethereadertocreateallprogramsassecure
andefficientaspossible.Thenewestpasswordencryptiontechniques(password_hash)are
demonstrated.
Thetryandcatchmethodsareintroducedtocaptureexceptionsandsomeerrors.The
newestversionsofPHPhavebeencreatedtohandleexceptionsanderrorsusingthis
approach.Manyotherbooksusedieorothertechniquestoshutdownaprogram.
Multi-tierprogramdesignisintroducedintheearlychapters.Thisallowsthereaderto
discoverwhatlogicandcodingshouldtakeplaceineachtier.ManyPHPbooksdonot
evencoverthistopic.
Themajorityoftheexamplesinthebookareusedtodeveloponemainapplication
(ABCCanineShelterReservationSystem).Asthebookprogresses,theapplicationisbuilt
fromthebeginning,instages,showingthereaderthatapplicationdevelopmentshouldbe
brokenintostages.Onlyaftereachstageiscompletedandtested,canthenextstagebegin.
Thisapproachworkshandinhandwithmulti-tierdesign.Additionalprogramming
exercisesandatermprojectareprovidedtoenhancetheunderstandingofdevelopment.
Thecreationofuser,change,anderrorlogsareintroduced.Thisallowsthereaderto
gainanunderstandingofhowtoprovidebackupandrecoveryabilitytokeepan
applicationfunctioningproperlywhensecuritybreachesorexceptionsoccur.
Theintroductionofdataobjectsandthedatatierdemonstratestothereaderthe
importanceofcreatinganapplicationthatprovidestheabilitytochangedatastorage
techniquesanddatastoragelocationwithoutrequiringamajorrewriteoftheapplication.
XML,JSON,andMySQLexamplesareprovided.
AnaturalrelationshipbetweenPHP,HTML5,CSS3,andJavaScriptisdemonstrated
throughoutthebook.ThisrelationshipisoneofthemajorstrengthsofPHP.
Throughoutthebook,weblinksareprovidedtopointtheusertoadditionalresourcesto
helpunderstandthematerialortodigdeeperintothesubjectmatter.Updatestolink
locationsareprovidedonthebook’swebsite.
SpecialNoteforTeachers
Thedesignofthecontentofthisbookprovidesflexibilityinteachingstylesand
approaches.Eachcollegeanduniversityapproachestheinitialeducationofprogramming
conceptsindifferentways.Thisbookprovidesthreedifferenttypesofprogramming
exercises,whichallowteacherstopickandchoosewhatwouldworkbestintheir
environment.“DoIt”exercisesareprovidedineachchaptertoallowthestudenttogain
hands-onexperiencewithtechniquesshownbymodifyingexistingexamplestoproduce
thedesiredresults.Theseexercisesprovidealevelofconfidencebeforethestudent
attemptstoprogramexercisesattheendofthechapters.Inaddition,aTermProjectis
providedthatbuildsanapplicationthatusesthesametypesofalgorithmsand
programmingtechniquesshowninthebook.Teachingtools,includingtestbanks,course
outline,andPowerPointslidesareavailableforusefromthebook’swebsiteandfrom
apress.com.CodeExamples,Images,andLinks
Chapter1:AnIntroductiontoPHP7
Aftercompletingthischapter,thestudentwillbeableto:Understandthe
differencebetweenLAMP,WAMP,andMAMP
SuccessfullyinstallaversionofLAMP,WAMP,orMAMP
SearchtheInternetfortroubleshootingproblems
Explainthedifferencebetweenaprogramminglanguageandascriptinglanguage
Createanerror-freesimplePHPprogram
Chapter2:Interfaces,Platforms,Containers,ThreeTierProgramming
Aftercompletingthischapter,thestudentwillbeableto:Giveexamplesof
platformsorcontainersthatcanhostPHPprograms
Createasimple,dynamicwebapplicationusingPHP
Explainthree-tierdesignanddeterminewhatiscontainedineachtier
Designathree-tierapplication
Explaineachstepoftheprogramdevelopmentlifecycle(PDLC)
DefineandexplainMVCanddependencyinjection
Chapter3:ModularProgramming
Aftercompletingthischapter,thestudentwillbeableto:Createanerror-free
simpleobjected-oriented(OO)modularPHPprogram
CreateaPHPclassandmakeaninstanceoftheclass(object)
CreateanOOPHPencapsulatedprogram,includinggetandsetmethods
剩余240页未读,继续阅读
资源评论
ramissue
- 粉丝: 354
- 资源: 1488
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功