How secured an api rest symfony? - rest

Good evening to all, I hope that to go to you all well, I come towards you to wonder how reassured(secured) an api rest, of the kind(genre) I develop a forehead(front) - end with angular and I wish used an api but I want that the api be used that by me, of the blow I owes process how? Already have you try to make that? You have a tuto young which explains how can it be done? or a course(price) on api rest?
Thank you a lot of your help(assistant) and good luck

Please take a look at this documents:
https://symfony.com/doc/master/bundles/FOSRestBundle/index.html
https://github.com/FriendsOfSymfony/FOSOAuthServerBundle
https://github.com/nelmio/NelmioCorsBundle
That are 3 Libraries for fontend->backend-Communication.
I use them for our api's (front/backend + app).

Related

Chad Hutchison Thomas - Developing a review site like Trustpilot

We are thinking to develop a simple customer review site like Trustpilot. This would be a simple site where businesses can list their business and people can review those - as simple as that.
Please suggest the best technologies / frameworks to use for this - what would be the best in long run.
Thanks,
Chad Hutchison Thomas
you can consider NodeJS and Angular. We have recently created a similar project for a client and used these ones.
Best of luck

Is it possible to share revenue with uber intergrated app for every trip of a rider?

I am exploring uber api and i need to found out if such an application can develop which can share rider's revenue with the integrated app on each trip .
No, it is not possible. Check out our affiliate program for more details about earning with the Uber API.
Right, I'm a little confused by the wording of "integrated app", but I'll just link the API endpoints you should take a look at to see if they satisfy what you need for developing your own application. If this isn't helpful, just say so and I or someone else will try and help further.
If you want to look at riders, the best way I can think of is to use the history to get a list of user recent rides and then request a receipt for every request_id in the history.
If you want to look at drivers, you can just look at all earnings that are given to a specific driver.
If someone wants to correct me on better ways to do this, feel free.
EDIT: Dustin knows better than me!

GAPI Class, Google Analytics API

I am about to start a new project in the Google Analytics API & PHP.
I read that Google Analytics will be deprecating XML v2.3 and v2.4 and in 6 months time, so aparently you will only be able to use v3 and retrieve information in JSON format.
http://analytics.blogspot.com/2011/12/introducing-google-analytics-core.html
My question is the following: Does this means that GAPI class won't work any longer? Anyone who has used this class before can help me answering this question ??
http://code.google.com/p/google-api-php-client/
In that case, any alternative suggestions of PHP classes that do the same thing.
Thanks so much
I've been using GAPI for a while now. And I can say with some confidence that yes it will break, if not due to XML it will be due to some other change google makes.
Having said that GAPI is the best solution I have found out there for php. It does break every 6 months to a year, usually needs one or two lines changing to fix. But GAPI is pretty popular so at least you know when your clients are calling saying analytics is throwing errors at them, you wont be the only dev tearing your hair out.
9 times out of 10, by the time I've got a problem someone else has found the fix - which is nice.
There are a few other php options out there but GAPI seems to be the most popular (usually the best way to go imho)
My approach is to build an analytics summary in the dashboard and provide a link to google analytics underneath so clients can see the full data or go there when GAPI breaks. I have been putting all my sites on the same modular system for a while now. I keep GAPI as a library in my admin layout module, this means I can make the fix once and roll it out to all my sites without too much drama.
In summary, use it but expect it to break - that way you wont be disappointed when it does.

Website development/design specification software or tool?

hello supersmart stackoverflow users!
Im wondering.. is there any software or tool (web based or otherwise) that helps and streamlines the whole technical and functional specification writing process so that we as developers/website can sit with clients, assess what they want to create/achieve and write up the spec efficiently and easily so that when its approved it can easily be passed onto the webdev people and they can create what is set out in the specification?
Thank you in advance!
Specfox is a SaaS designed just for that. You upload the screens (layouts or screen grabs), add notes and pinpoint to page elements, and generate PDFs to share with copywriters, designers and developers, or whoever you need to involve. It was the best online website specifications tool I found for a website redesign we did.
If you're still looking, take a look at Axure. It's built just for this. It's awesome

How do websites like appcomments.com or androlib.com get data, particularly the reviews?

Do they just scrape or are there APIs?
I think they just scrape, because I haven't seen or heard of any APIs. Check also https://stackoverflow.com/questions/2689711/itunes-app-store-api
I was looking for the same things and found http://code.google.com/p/android-market-api/ (this is not the official api, as it seems they arent' any). It would be nice if there was an official API in the same way itunes has made theirs available