Jump to content

Recommended Posts

The '->' is an OOP operator, specifically the 'to object member' operator.  It's used when trying to access an object's public member (either field or method (function)).

 

Frameworks assist in building applications by providing a lot of the basic, underlying structures most/all apps need.  For MVC frameworks, they provide the front controller, routing mechanism (including the route table itself), the base class for the controllers, and, a lot of time, a ORM to help with the model as well.  It allows the developer to focus on developing an actual site/app rather than the low level (yet still important) structural code.

Link to comment
https://forums.phpfreaks.com/topic/241333-php-and-framework/#findComment-1239664
Share on other sites

1. The '->' symbol is one of the two object operators. It is used for accessing methods and variables from within the object.

 

2. Frameworks allow you to code within a structured manner. Allowing best practices to be shared between developers. basically If i came into your office and picked up a piece of your work i would have to pick it apart to figure out what you were trying to acomplice. But if you were using a framework ( cake, zend etc) then i would know how the code was structured etc.

Link to comment
https://forums.phpfreaks.com/topic/241333-php-and-framework/#findComment-1239665
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.