Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I've used Doctrine together with frameworks like Symfony or Zend. Is there a way to use it without such a framework, with plain, core php?
I've used Doctrine together with frameworks like simfony or zend. Is there a way to use it without such a framework, with plain php?
OF course. you start here , right from the doc :
http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/tutorials/getting-started.html
What i mean is you should really have a look at the doctrine doc if you did not.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I'm using php and Laravel.
Is is good to build my courier?
I know this is ridiculous but i wonder.
modern php is much better than before.
but i'm still wonder using php.
Yeah it is still good using php especially laravel.
First, php framework (laravel) using MVC Architecture that easy to use, and many tutorials there.
And then, laravel have a feature called Eloquent ORM for easy interaction with your app database
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am new to php so it did not seem like a good idea to use the framework.
I want to create my own framework from strach.
I want to open php class with a url like what codeigniter do.
I want to use urls like index.php / MyClass instead "get" index.php? class = MyClass.
how can I achieve that?
You have made good decision to develop your framework . This is known as Routing or URL Rewriting . You can learn this at URL Rewriting. For a complete framework , You have to learn about
Template System
Query Builder etc
I suggest you to learn Codeigniter framework for better understanding of PHP framework
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have used codeigniter for developing websites and now I am switching to Yii. Can someone please suggest me what would be the best way to learn YII framework?
This link would be enough to learn basic usage
http://www.yiiframework.com/wiki/268/how-to-learn-yii/
There's a documentation section on the official web. Start there + simply start writing in Yii.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
What would be the advantage of using a framework like codeigniter vs raw PHP?
MVC pattern, which I recommend you read about. It provides concern separation and is an industry standard for building web apps.
Less boilerplate code - everything (mostly) you need is already provided by framework classes API
Active Record - a nicer way to query database
etc. Bottom line is - use a framework, unless it's a quick hack, then framework might be an overkill
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Since there isn't a lot of documentation out there, some features of the Lithium PHP Framework are not well known by the public. Are there any cool code features which I would miss if I just use the framework as shown in the docs?
Hey, thanks for asking. Most of what you can do with Lithium currently is documented at http://li3.me/docs/lithium and http://dev.lithify.me/drafts/source. However, with each new release we usually write a blog post highlighting some of the features that have been added and what you can do with them. Those can be found here: http://dev.lithify.me/lithium/wiki/blog.
Let me know if you need anything else, or have any other questions. As always, feel free to drop by #li3 on Freenode.
Filters are a huge benefit in Lithium. Notice how one would do "beforeSave" and "afterSave":
http://www.patrickjsparrow.com/php/beforesave-and-aftersave-in-lithium/