Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am having a medium size project using CakePHP right now. It is/was using MySQL as database.
While after I heard and did some research on MongoDB. I would like to give it a try.
However, the way CakePHP implements model was designed for MySQL,even with the Mongo for PHP plugin. It's still using the 'inconvenient' way.
So, Is there a PHP framework that integrates MongoDB well and has the same(or almost the same) database APIs as MongoDB does.
You can try Laravel 4.x with jenseggers mongoDB package:
https://github.com/jenssegers/laravel-mongodb
You can also give Yii a shot or Doctrine which should give you mongoDB support out of the box.
Ultimately out of personal experience I recommend Laravel due to its elegant way of communicating with the database; if done correctly, you don't need to write a single SQL query.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I like and I am so comfortable with EF provided by .Net wherein I can code first and database tables are generated by the framework itself etc. I am now coding a personal site using PHP. Is there any equivalent thing in PHP which will make my life easier. I cannot choose .Net for personal site. That answer is out :(.
With "Code-First" approach, Doctrine:
Article: Code First Approaching PHP with Doctrine 2.2.1 and Composer.
Official Website: http://www.doctrine-project.org/projects/orm.html
You can check also other popular PHP ORMs, but I'm not sure if you could do "code-first approach" as Doctrine:
http://propelorm.org/
http://redbeanphp.com/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there any library that, given a sqlite/mysql/postgres database generates an admin panel to manage data à la Django? I know that some frameworks do this, but I need something indipendent from any other part of the application that relies solely on a given database to work.
I need something end-user oriented, so any sql-based tool (like phpMyAdmin) would not work. Thanks
Thanks.
Here are a couple of suggestions for use with mysql:
http://www.ajaxcrud.com creates an ajax crud interface. The main page provides a good example with code, and there are more advanced examples on the site as well.
There is also http://www.phpscaffold.com/ which you can use to create some skeleton pages if you prefer to have more control.
I have used both of these previously in projects and they work well.
You can check PHP Admin Panel.
It's not free but it's not expensive for what you can do.
How about Adminer Editor? It's pretty cool.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Does anybody know of something similar to django in PHP ?
I am looking for something that is a simple to use as django.
I have been using django for quite a long and now I have to do some development in PHP and I was expecting to use something similar
thanks
There are lots of MVC frameworks for PHP - it's hard to say which of these are "similar to Django" because of the variance in featuresets (and most folks don't even really use all of what is available in Django). But if you're just looking for a framework that uses the MVC paradigm, you now have a handy list to look through as well as some Google-able phrases
Yii is very similiar to Django, try it
Symfony2 is the most Django-like PHP framework up to date. It's been released just few months ago, so don't expect full documentation or LTS version, but it has several features that are very similar to Django: Twig (template engine), Bundles (almost like applications in Django), ORM and Assetic (library for handling static resources).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there any PHP application that can automatically generate add/edit forms and listing pages by just reading the database. Like PhpMyAdmin but highly customizable through code or configuration files.
The main reason is to avoid time spent on development of back-end of web applications.
Try a framework, like CakePHP or Symfony. Almost all frameworks offer scaffolding for the backend part of the app. Here's the Cake way, and here's the Symfony way.
Symfony (using Propel or Doctrine) may have just what you're looking for: define the tables and their relationships, and it will generate the models for them, from which it can again generate admin listing/add/edit forms.
Try XataFace
I used it for my websites and it works ok (at least until you want too much from customization)
Try Symphony for code or Modubiz for just configuration.
Forms and pages? Surely this is front-end, not back-end?
You might want to have a look at phpeanuts, phpformgen, phplens, dhtmlxgrid (NB there are other free ajax data grids - but I've not played with them much)
C.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there a PHP equivalent of Rails migrations?
Looking for a good solution for configuring schema changes locally and then automatically bumping them to the server without losing data.
My project http://github.com/robmorgan/phinx is a small lightweight migration engine without any bloat or big framework dependency. It borrows the best parts from several tools including ActiveRecord::Migration.
Ruckusing Migrations is a "Database Migrations" framework for PHP 5.2+.
The framework is modeled after ActiveRecord::Migrations from Ruby on Rails.
Doctrine, an ORM and DBAL, has got migrations.
http://github.com/nickinuse/php-migrations is built on RoRs approach
Just to throw my hat into the ring, Ladder is a simple, pure PHP migrations system.