use zend framework in to develop Rest api in php - php

I want to build Rest apis in php and want to use MongoDB.
I found out that zend is widely used and also have good documentation.
But i couldn't find out that Zend framework has a support for MongoDB or not?
Any help would be appreciated. Thanks in advance.

I have not used ZEND so far, just know it is written in php. So to access mongodb you maybe could use the links which you find on following site: http://docs.mongodb.org/ecosystem/drivers/php-libraries/

Related

Integrate SCORM In PHP YII Framework With PHP Version 5.4

I Am Working On YII Framework In Which I Have To Integrate SCORM, And I Am Not Able To Understand That What Will Be The Best Way To Get This Done, I Am Totally New To SCORM I Have No Idea About SCORM.
I Had Search For Many Option Like(Moodle, Chamilo, ILIAS) But All Are Not Compactable
How I Integrate It?
What Should I Use?
My PHP Version Is 5.4
Thanks!
I think it depends on the kind of integration you need.
First you must know the SCORM standard with some detail. I suggest you surf to https://scorm.com/scorm-explained/technical-scorm/ and try to get the "pieces" you need to work on with Yii .

Detect or identify a framework in php (Yii or CodeIgniter)

I have a quick question.
I have an existing project in php. Now, i am trying to set up locally. I am checking the way to find out which framework they have used.
Can any one guide me how to detect framework in that existing project? Is there any way?
Help would be appreciated.
You can use chrome extension "wappalyzer".This extension shows which frameworks are used.

How to configure MySQL data with php Zend framework?

I am working with core php for at least one year. Now I want to use a framework and I decided to use Zend Framework. But I could not able to configure/use MySQL database with Zend Framework.
Can any one tell me how to do this or give a link or tutorial from where I can do it my own.
Thanks
Enamul
I just provided answer to similar question that might help get you started. The Zend_Db component can be confusing in the beginning because there are so many options for using it. In fact there at least 3 different ways just to connect to a database.
How to use Zend Adapter to retrieve information from database

Do I have to convert my PHP app into MVC in order to use Zend_search_lucene?

I have finished writing my own web application now. It is written in PHP with MYSQL DB and I did not use any MVC framework at all. Now I want to add a local search functionality for my app and from looking at the other posts here, Zend_Search_Lucene seems to be a good option for me.
Now if I want to use Zend_Search_Lucene do I have to install the whole Zend framework then re-write my app and adapt them into its MVC framework ?
I am looking to use just the search feature of the framework, and right now I probably do not really mind installing the whole framework, but I surely do if I have to make large-scale changes to my app..
appreciate any answer-suggestion, thx
You can just use the Zend_Search_Lucene package, you don't need to use the whole framework and/or MVC aspect of it. If you don't want to install the whole framework, you have to check package dependencies that Zend_Search_Lucene has. There are some automatic ways of doing this, here are some:
ZF dependency manager
Zend Framework Automatic Dependency Tracking
If you google it you'll sure find more.
For the answer to the question: no, you won't have to change it, you may use Zend Framework libraries independently.
I won't give you any tutorials on Lucene, though.

free opensource amfphp alternative

is there any other framework that does the same as amfphp? I dont want to use amfphp because it hasnt been updated in years and looks like it's no longer under development, I have to use PHP so I'm looking for a PHP alternative. Thanks.
The Zend_Amf class, which is part of Zend Framework, might interest you.
It's also available as a standalone component, if you don't want to full framework with it.
According to this wikpedia page there are a two other PHP alternatives
SabreAMF and WebORB
SabreAMF is free and opensource

Categories