Can anybody comment on django-wapi? - django

Aside for a few user guides found at http://fi.am/en/tag/django/2/ I have not managed to find much about WAPI.
I was wondering if anyone has had an experience using WAPI and django to create a web api?
I'm a little intimidated by the amount of magic these frameworks seem to do.
Are there any other good alternatives to creating a web api in python?

Here is a decent guide to the django WAPI for building a restful API: http://fi.am/entry/building-a-website-api-with-django-part-2a-api-aut/

Related

Integrating paypal with c++ MFC app

We are planning to integrate Paypal with one of our cpp application written using MFC. The question is shall we use Rest apis to accomplish this? or there is any other easier way to do achieve this? I have recently used Paypal REST Services via Postman and they look pretty easy. What I want to achieve is how can I use rest apis for paypal without launching the browser ? How can I achieve Login credentials from the user ? Can anyone point me to right direction ?
Appreciate your help in advance.
Thanks
AJ
I'd suggest using PayPal REST API https://developer.paypal.com/docs/api/ as they putting more effort into it. There is also SOAP API, but I would not use it. It seems like dated.
You can use ultra modern Casablanca C++ REST SDK which is an open source framework from Microsoft available at: https://github.com/Microsoft/cpprestsdk to implement your end-point.
You can do that using Wizdome which is c++ / MFC oriented. A product named Datattoo recovery developed under c++ and MFC allows paying for the amount of data successfully recovered, and the integration with PayPal is done that way.
Here is a more detailed description about the process:

Implementing Chat with us functionality in my Ruby on Rails website

I want to implement chat with functionality for my website. Not chat application which allows chatting among the users. User can chat to the website only. Exactly like Amcat livechat. How do I achieve this? Any suggestions please. I have googled a lot. But got only ideas and tutorials for chat application only.
Your best bet is probably to find an off-the-shelf solution that provides some kind of widget that you drop in to your site. Building this kind of thing yourself is usually a bad idea.

how to setup user authentication in django

I've been using Django to make this Web Service and I'm wondering how to make the user authentication work. I heard that there's a built-in method to do it in Django, but I can't find it. Does anyone have some experience in how to do this?
The tutorial on djangoproject.com is fairly good for explaining this.
See: https://docs.djangoproject.com/en/1.5/topics/auth/

Twitter in Django

I have to create web application similar to twitter with a few tweaks using django. I am clueless if I have to use a CMS for this or any other existing django-application. Working from ground up is quite tedious to be honest. Can anyone recommend me which CMS( or anything else) I should attempt trying?
There is a project called trillr1. According to its page:
"Trillr is a Twitter-like microblogging service enhanced with user directory and group discussion features. " that's maybe what you want.
https://contributions.coremedia.com/trillr1
I guess, the closest you can come with an out-of-the-box software to imitate Twitter is Status.net, the software, that powers identi.ca. However, this is a PHP application.
I'm not aware of something similar in the Django world.

Is it possible to use Django with Qooxdoo framework?

Guys i would like to use Django as my backend framework and qooxdoo as the frontend framework.
Is it practical to do this?
Has anyone tried to do this?
How did they do it?
Links and pointers would nice.
Gath
I have no direct experience using Django and qooxdoo, but the general answer to the question "Is it practical?" is: yes :). Although Django's default rendering behaviour is to produce HTML (which is unsuitable for a single page application like the ones you build with qooxdoo), it's easy to switch to returning e.g. Json on requests, which is a common format for the client-server communication between a qooxdoo frontend and a server. They just exchange data.
Has anyone tried to do this? - Yes, but they don't give much information on how, other than the before mentioned Json data exchange, implementing a Json RPC server in Django using RPC4Django.
AFAIK, there is no deeper Django integration, e.g. interfacing qooxdoo with Django views on the server (like dojango).
Hope this helps.
Update:
There is one elaborate product, Sava, using qooxdoo for the frontend and Django for the backend. There is a short overview, but I think it's closed-source so it only testifies to the "practicality" of using this technology stack. You probably won't learn in detail how it is realized.
There is also enre, a qooxdoo-based GUI for Django. But I'm not familiar with it, and couldn't find any documentation on first glance, so I'm not sure what this really means.