Has anybody used Cloudinary together with Coldfusion/Railo/Lucee? RestAPI to use?

298 مرّة مشاهدة
التخطي إلى أول رسالة غير مقروءة

thorste...@googlemail.com

غير مقروءة،
20‏/06‏/2015، 5:52:01 ص20‏/6‏/2015
إلى lu...@googlegroups.com
Hi,

http://cloudinary.com/ to handle image processing and storing looks interesting.

Has anybody used Cloudinary together with Coldfusion/Railo/Lucee?

Would be the best way to use their RestAPI together with lucee?

Regards
Thorsten

Mark Drew

غير مقروءة،
20‏/06‏/2015، 9:35:05 ص20‏/6‏/2015
إلى lu...@googlegroups.com
Says it's a REST API, so I guess using cfhttp? 

Mark Drew
- Sent by typing with my thumbs. 
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/5db5a3b2-0e22-4110-bfb4-4e546fb023e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sean Daniels

غير مقروءة،
22‏/06‏/2015، 10:56:53 ص22‏/6‏/2015
إلى lu...@googlegroups.com
I’m using it with Lucee. I have a component I wrote to do what I need using the REST API via http calls. It’s pretty basic but gets the job done. If I recall correctly the trickiest part was getting the signature right. Actually, yeah that was a real PITA.

I can share some code with you if you want.

Pete Freitag

غير مقروءة،
22‏/06‏/2015، 11:09:39 ص22‏/6‏/2015
إلى lu...@googlegroups.com
On Sat, Jun 20, 2015 at 5:52 AM, <thorste...@googlemail.com> wrote:
Would be the best way to use their RestAPI together with lucee?

If there is a java client for an API, I usually try that first... and there is: https://github.com/cloudinary/cloudinary_java

Occasionally you will find that there are a ton of dependencies or that the java API is harder to use than rolling your own implementation, but it is often far less work (especially in the long run, I have found) to go with a Java API client. I am just speaking in general from my experience using various java api clients for web services, I haven't used Cloudinary specifically. 

--
Pete Freitag
https://foundeo.com/ - ColdFusion Consulting & Products
http://hackmycf.com - CFML Server Security Scanner
 

thorste...@googlemail.com

غير مقروءة،
22‏/06‏/2015، 12:03:54 م22‏/6‏/2015
إلى lu...@googlegroups.com،pe...@foundeo.com
Thanks at all! When I have some time I will investigate it further. Thorsten

Jason Barnes

غير مقروءة،
23‏/06‏/2015، 9:46:23 م23‏/6‏/2015
إلى lu...@googlegroups.com،pe...@foundeo.com
With cloudinary now supporting external sources you can use the service these days without even using the api. We now store the source images in our own s3 bucket and simply craft url's pointing directly at the source image.

e.g source image is:


Crafted url is:


https://res.cloudinary.com/yaffa-publishing/image/fetch/fl_keep_iptc,c_fit,h_520/http%3A%2F%2Fyaffacdn.s3.amazonaws.com%2Flive%2Fphotogroup%2Fimages%2FyafPOTYEntry%2FsourceImage%2FCD9BC770-6676-11E4-9C3F02A167D272B4%2Fandre_lowkey_3.jpg

The image was uploaded direct to s3 without ever going via the web server. A basic example of that:


Though you can use things like plupload for a better user experience.

Curt Gratz

غير مقروءة،
10‏/11‏/2015، 9:55:05 ص10‏/11‏/2015
إلى Lucee
Hey Sean, I wouldn't mind taking a look at what you did for your component.  Save me some time getting the signature.

Let me know if you still have it around.  Do you have a github repo for it?

Thanks,
Curt

Sean Daniels

غير مقروءة،
10‏/11‏/2015، 10:53:40 ص10‏/11‏/2015
إلى lu...@googlegroups.com
It's in a private repo ATM but here is a gist of the component:

https://gist.github.com/cfrockstar/a31bbd9192cd28e48fcf

- Sean
> --
> Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html
> ---
> You received this message because you are subscribed to the Google Groups "Lucee" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
> To post to this group, send email to lu...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/447b4d9e-f1c5-4479-8826-57e92c7855f4%40googlegroups.com.

Curt Gratz

غير مقروءة،
10‏/11‏/2015، 4:08:32 م10‏/11‏/2015
إلى lu...@googlegroups.com
That helps a ton. Thanks Sean!!!

Curt
>You received this message because you are subscribed to a topic in the Google Groups "Lucee" group.
>To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/rcoj_XrHnco/unsubscribe.
>To unsubscribe from this group and all its topics, send an email to lucee+un...@googlegroups.com.
>To post to this group, send email to lu...@googlegroups.com.
>To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/00856CB1-4CAB-489E-9EF3-50CA4BF1CC83%40gmail.com.

Kim Bélanger

غير مقروءة،
20‏/08‏/2016، 3:17:41 ص20‏/8‏/2016
إلى Lucee
Hi,

The gist is down, and i would have liked to the a peek too if possible ?

Thank you !

Sean Daniels

غير مقروءة،
22‏/08‏/2016، 10:23:58 ص22‏/8‏/2016
إلى lu...@googlegroups.com
I changed my gut username so new address for the gist:

https://gist.github.com/sjdaniels/a31bbd9192cd28e48fcf

:) hope that helps
> --
> Get 10% off of the regular price for this years CFCamp in Munich, Germany (Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp. 189€ instead of 210€. Visit https://ti.to/cfcamp/cfcamp-2016/discount/Lucee@cfcamp
> ---
> You received this message because you are subscribed to the Google Groups "Lucee" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
> To post to this group, send email to lu...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/80e54c28-456e-4baf-ac6a-3b8473122282%40googlegroups.com.

Kim Bélanger

غير مقروءة،
22‏/08‏/2016، 3:13:50 م22‏/8‏/2016
إلى Lucee
Oh it sure is/will. Thanks again !
الرد على الكل
رد على الكاتب
إعادة توجيه
0 رسالة جديدة