How to create publish plugin for lightroom - django

I'm trying to find information on how to create a plugin for lightroom to publish photos to my website. Anyone know where I can get info?
I'm using django for my website if that matters.

There are two parts to this question: (1) how to write Lightroom plugins and (2) how to write a plugin that can publish photos (so, make an http request to upload a photo to a website).
You can find general information about writing Lightroom plugins on Lightroom Dev Center. This post on my blog may provide a simple starting point as well.
The example in the blog post may be helpful for another reason: it uses luasocket library that you will need to access to publish photos. Here is an example of how HTTP POST request can be made using this library. Note that the solution in the blog post includes this line package.loaded.socket = import "AgSocket" (executed in a module, not in a plugin), which preloads luasocket and makes it available to socket.http module.

Related

How can I implement video chat in my website using Django?

I want to develop a website in which users can have video chat and they can connect to other user anonymously without had been added by the other person as friend. I also want that all the active users list is displayed on the website. So somebody please suggest me how can I implement it on django?
You can use a third party service for this. Or you can use WebRTC. There are some nodejs packages which can help you do this. I like "EasyRTC" for that.
Or if you want to use Python, you can use Twisted. Here's a tutorial (found on Google, not tested by myself - https://ferretfarmer.net/2013/09/05/tutorial-real-time-chat-with-django-twisted-and-websockets-part-1/)
In essence, Django doesn't handle the video streaming/chat part. You can use Django for authentication and serving the required html and other stuff. But the video chat needs to depend on other services.
If you are looking to create a video calling and chat application using django, django_channels, you can refer to this Github Repository .
It also tells you how to deploy your app to google app engine flex with Redis instance.
It took me a long time to build this, so I created a detailed basic public repository to help someone like myself and for future reference.

jUDDI Installation and configuration

I have installed the basic jUDDI Server in my machine. I am able to Register the Service and able to read my Service info as a new user. I want to restrict the users who wants to look up my services. I want only my clients to access these information. I want to authenticate them so only my clients can view the business, service, tModel, Binding Template information. How can I achieve this? Can any body help me get through this?
Try turning on the setting the requires authentication for the inquiry API. You can find it in the juddiv3.xml config file for the server. Here's the xpath to get you there.
config/juddi/auth/Inquiry=true
Future readers, the documentation is located here for the current release (as of this time of this post)
https://juddi.apache.org/docs/3.3/juddi-guide/html/ch04.html#_administering_users_and_access_control
but the website https://juddi.apache.org/docs.html will get you to whatever is current. The docs (that website) is also available as part of the distribution and (i think) maven artifacts

How to start using Doctrine 2 in an Apigility application with zf-apigility-doctrine?

I want to integrate the Doctrine 2 to an Apigility driven Zend Framework 2 application.
So I installed zfcampus/zf-apigility-doctrine
$ composer require zfcampus/zf-apigility-doctrine "~0.3"
and activated the modules Phpro\DoctrineHydrationModule, ZF\Apigility\Doctrine\Server, and ZF\Apigility\Doctrine\Admin in the application config files (/config/application.config.php and /config/development.config.php).
What should be done next to start using Doctrine in the application as general and particularly in the Apigility Admin area?
I experimented with this Apigility extension in the fall but it was far from complete at that point. The server code was usable but there wasn't any UI integration to speak of. You can still manipulate endpoints by dissecting how zf-apigility-doctrine's controllers work and the information provided in the README. The rest is mostly trial and error. At the time I used the Postman plugin for Chrome to send requests to the endpoints mentioned in the README, trying different inputs until I found something that worked. It looks like they've made good progress on this portion of the integration since I last tried but I haven't revisited since to try again.
It seems there's no official integration with the Apigility admin UI yet. There is a repository for it (https://github.com/zfcampus/zf-apigility-admin-ui) but a quick browse of the open tickets shows it's not working yet. Someone has forked it and worked on it, but I haven't looked into it myself so I can't comment on it's readiness.
My suggestion is that if you want to learn how to integrate zf-apigility-doctrine into your Apigility the best way to do that right now is to take a look at Roll'n API (source here)

How do I connect to an external API using Joomla 1.5?

I want to connect to an external API from my joomla website.
The external api is a reservation system which I would like to view info and update content. They have provided a URL for testing as well as documentation of the various functions available.
Not sure what to do from here. I have built many Joomla components before but never had time to learn XML-RPC and how it works.
I have looked at mastering Joomla 1.5 extensions and framework development but couldn't get what I wanted from it. Any help appreciated.
If you have built MVC components in the past, then the hard part is done. XML-RPC is not all that different from a typical cURL request in that you build a set of parameters that are sent to a remote server that then returns a response. The main difference is that the request and response are formatted in XML. There is a pretty good overview here - http://www.phpbuilder.com/columns/luis20010329.php3?print_mode=1
If you want to connect to an external link from your joomla, you can modify the link type (menu item) to "wrapper" (Displays an iframe to wrap an external page or site into Joomla! ), when you are done, in the right side there are some Basic parameters, you can write there the link, and add the width and height to it.

Integrating smartgwt and web2py

I'd like to build an application using smartgwt and web2py.
I am new to both.
Ultimately what I would like to do is display objects obtained from a web2py backend in a smartgwt TileGrid.
Can anyone enumerate the broad strokes of what needs to be done? Or point me to any useful resources?
Any information that would apply more to django is also welcome.
download smartgwt (excellent framework by the way) and look into this example:
file://localhost/Users/massimodipierro/Desktop/smartgwt-1.0b1/samples/Showcase/www/com.smartgwt.sample.showcase.Showcase/index.html#tiling_load_on_deamnd
which displays images in a tilegrid. The images are received from Yahoo via an http request. The response is in JSON. Look into the source code. To see the json response from Yahoo try the following URL:
http://api.search.yahoo.com/ImageSearchService/V1/imageSearch?appid=YahooDemo&output=json&query=snowboard
To make this work with web2py you need to replace that URL with the URL of a web2py action that returns a similar JSON response.
I do not know much about smartgwt but I am sure on the web2py google groups there are people willing to help.
Have a look at this tutorial on using web2py with Pajamas, which is another library built on GWT.