Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Component & Helper in Cakephp and why are they used?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 146
    Comment on it

    Hello Readers

    A component is an independent piece of code written for specific task in cakephp that can be used for Emails, RequestHandling etc.

    Components is basically a package of logics that are shared between controllers. User also create their own components.

    A helper is used for helping Cakephp in rendering the data to be shown to user with views like HTML.

    Helpers are basically the components like classes which can be used for presentation layer of the application. Helper contains the presentational logic that is shared between views, elements and layouts.

    Below are some components which is used in cakephp:-

    Security
    Sessions
    ACL(Access control lists)
    Auth(Authentication)
    Emails
    Cookies
    RequestHandling
    MVC architecture
    Built-in validations
    Caching
    Scaffolding
    

    Below are some Used Helpers Of Cakephp:

    FormHelper
    HtmlHelper
    JsHelper
    CacheHelper
    NumberHelper
    Paginator
    RSS
    SessionHelper
    TextHelper
    TimeHelper
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: