I am new to joomla 2.5. I need to design application which is to be used by STB(SET TOP BOX) or TV Application. Is it possible to use below features with Joomla 2.5 ?
Authenticate users where credentials are passed from STB or TV via POST method.
Calling Webservices after authentication, custom string format needs to be return instead of JSON or XML.
Is it possible to host file with encryption from developed administrator component ?
Any Ideas? Any good beginners book for Joomla 2.5 ?
Thanks.
yes if you previously download the login page and grab the token, which is a dynamic security feature
no problem there, just make sure you end your controller method with
exit
so the template won't be output.
I can't figure out what you mean. Encrypted files will not be accepted on the Joomla Extension Directory, but you can use them in custom components.
Beginners books: really depends on your php and overall development experience. The reference and plenty of guides are on docs.joomla.org (section developers), but check here first for any questions, there are plenty of answers on Joomla!
Related
I'm trying to make an autorun app with c++ that doesn't have an UI, but it will log into google drive when u plug in the USB drive. I was wondering if there was a way to do this, either by using google api, or by detecting the field forms on the login screen, and automatically filling them in. Also this is going to be strictly a private software.
Add one part How do you make a HTTP request with C++? with two parts https://developers.google.com/drive/v2/reference/.
Shake lightly. Chill and serve.
Optionally add for flavor: https://developers.google.com/drive/auth/web-server
However, I'm unable to find a c++ oath2 library. The closest thing I found was https://code.google.com/p/twitcurl/. If you find an oath library, please comment on this.
UPDATE:
POCO has a OAuth 1.0 implementation seen here: https://github.com/pocoproject/poco/tree/develop/Net/samples/TwitterClient/src
Also, according to this landmark blog post, there are still many concerns about OAuth 2.0's security. The 1.0 implementation above is what I would attempt.
For more information on OAuth 2.0, see RFC6749 and RFC6750.
I am developing mobile apps using phonegap.
My mobile app will have same functionality as like my joomla-jomsocial website.
I have to access web services using jQuery.ajax as I am using javascript and html only.
Are there any ready web services or APIs in joomla-jomsocial?
Joomla! only recently formed a working group for "Web Services" and I think you won't see any outcomes from that for a while.
As #Riccardo Zom, say your best bet will be to access the barest formats you can from each component type using the format/tmpl parameters.
If you're motivated enough you could extend existing components (core and otherwise) to return the desired format (e.g. json), in that case you should read Louis Landry's note on the changes from 1.5 era XML-RPC feature set to the 1.6/2.5 mechanism.
If you're still looking after that you may be interested in the "Joomla! API - Generic RESTful API framework for Joomla! 2.5" by Rafael Corral, it's a component (com_api) that provides a framework for creating a RESTful API for a Joomla! 2.5 site.
Unless you want to rewrite the whole component logic in your html app, you might be happy with grabbing the component output without all the extra page markup i.e. get the bare html returned from the component: just add &format=raw to the query; if you want libraries and css to be returned as well, instead add &tmpl=component
There is also (limited) support for &format=json in some core components.
I want to make an extension for Chrome that customers have to enter their username and password. Then after that they can view their account information by the extension instead of log in to website.
But firstly I'm beginner in developing Chrome extension then after I read some articles about it, now I don't know Where I can start?
Secondly my big problem is using web service in my extension because I have to get customer user/pass and send them to my web service (.net) to get information.
I appreciate you if you give me your ideas/sample code/tutorial/...
But firstly I'm beginner in developing Chrome extension then after I read some articles about it, now I don't know Where I can start?
Start from hello worlds, of course. I would recommend refreshing your knowledge of HTML/CSS and Javascript, as Chrome extensions are essentially local web pages.
But before you dive into new technology, think if you really need to do this as a Chrome extension. Maybe a simple set of webpages will be a better (and cross-browser) choice? Do you really need chrome.* API? Maybe you can share some additional details, like why did you decide to go with Chrome extension in the first place.
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.
I am looking for a web app framework which can automatically generate an HTML5 offline storage based app, so while the users become disconnected they still can view the data which normally is stored on a server
Also currently I am using Django and it would be great if there was a framework which could pull data from Django and present that as an offline app.
From the related questions suggested by stackoverflow, while writing this question, I found one interesting link mentioning that GWT has such functionality, I would like to know more about that if possible and if it can generate an HTML5 offline app
Thanks in Advance
Rather than server-side frameworks, you should be taking a look at JavaScript frameworks.
Dojo Storage will transparently select between providers such as Google Gears, Adobe AIR or plain old HTML 5 local storage. Dojo 1.5 - dojox.storage: http://dojotoolkit.org/api/1.5/dojox/storage
There's also jQuery local storage: http://plugins.jquery.com/project/saveit
... or jStorage, which can act as a storage plugin for jQuery, Prototype or MooTools: http://www.jstorage.info/
With any of these, you should be able to use a quick little AJAX call to pull (JSON perhaps) data from your server and use one of these tools to help minimise your storage code.
You're talking about a standalone app, not a django app.
This can be done with javascript (jQuery, Sproutcore, JavascriptMVC, Pyjamas ...) or Adobe AIR, or...
Pulling data from Django is just a matter of setting up a syncing method, most probably using JSON, to fill up the browser local storage. So this is not django-specific at all.
If you want a standalone django app, this can be done if you bundle in a python desktop app django with a built-in server, that's another question
You could suggest the users to create web apps or use google gears instead... I don't know if this will fill the question, but, i'm in the same way. However, I'm developing an governamental solution who will run only for some kind of people, so, I can have a few control about the user's environment... All you need to do is to use jquery to detect if user has a live connection, or offer to the users a 'preferences' page where you define the behavior of the page itself...
Some info about offline cache: http://diveintohtml5.ep.io/offline.html
PS.: In another post in stackoverflow, I 've found another question: html5 offline caching with php driven sites... The last Post said:
HTML5 offline caching does not work to make your pages interact; it works only to make a
particular page available offline. Basically, it works on a URL-by-URL basis. If you
absolutely need offline functionality, you will be forced to make it work in JS.
Also, make sure your manifest includes all resources used by all pages.
Hope this helps!
Hope it helps!!