Objective C, How to update forum database from iPhone - objective-c

Let's say I have a WordPress forum and I want to create an iPhone application that takes a photo and post the photo on the forum. Is it possible to access forum's database from iPhone?
I have some of basic knowledge how to send and receive information between iPhone and a web server. I have done a couple of applications that sync with web server. I wrote php scripts to access MySQL database and send data back to device in XML format. But I am not sure I can still do this kinds of work with third party forums such as WordPass or any well known forum..
Thanks in advance..

WordPress has RPC services, that you should be able to use.
See: http://codex.wordpress.org/XML-RPC_Support

Related

Export HTML5 Web SQL to live database

I'm looking at creating a HTML5 web app for use in offline data capture on an iPad. The idea is that someone would be able to take the iPad somewhere without an internet connection, have people fill out a registration form and save the data for later upload to a database.
I've created a proof-of-concept that works offline using appcache and stores data with web sql (was more structured than local storage).
The problem I'm facing is getting the data out of the web sql DB into a live server DB? Any ideas on how I can achieve this?
I'm aware that writing a native iOS app might be a better solution but I have neither the time to learn iOS development, the equipment to do it, nor a license from Apple.

I want to Create A desktop Application with Adobe Air PHP MYSQL

I want to first of all thank everyone for the help I got here in the past. After completing my web application using Html, PHP, jQuery, Javascript, CSS, MYSQL, I realized I don’t want a website. In the end, for security, I prefer knowing who will be accessing my application. Having said that, I want to use most of the work I already did for my website. I understand I can use PHP with AIR and MySQL. I read that many would recommend using SQLite, but my problem is that I will constantly be updating the database. I also read there are some security issues using MYSQL and AIR.
Question 1, if I took the "necessary" security precautions within PHP which connects to MYSQL, would that be ok or is there soething else I should be aware of wit AIR ?
Question 2 if I really need to use SQLite, is there a way to connect to Mysql so that I may update the database.
I'm open to suggestions if there is a third party software that will covert my project to a desktop application with connectivity to MYSQL I also have a third party flash embedded.
Thanks
Make it mandatory to sign in to the website to use it. Will that not be sufficient to know who is accessing your application?
PHP is a server side language. Adobe AIR is desktop application framework. I am not sure that converting a PHP-MySQL application to an Adobe AIR application will be a trivial task.
You can take the distributed application route though by doing the client side in AIR and writing the web services in PHP/MySQL. And if you want a distributed database too, it will get lot more complicated.
You can build a rest api with php and integrate it with adobe air applications via http no need js for this. Just use actionscript with urlloader urlstream.
If you need an offline db you can use sqlite and sync with Mysql via php.
You'll have to forget PHP and use javascript and SQL sintax to do it. You can check this pretty guide from adobe to do so http://help.adobe.com/en_US/air/html/dev/air_htmldevguide.pdf
It won't be easy ;P

upload heavy file from one server to another server

I have created a application and integrated api of soundcloud. I firstle i am uploading traks on my server after that to the soundcloud server through cron jobs.
It is working fine for smaller file but not for heavier file.I have posted this problem on google group they replied the following:-
Do you proxy the
download through your server? Can you check there that it is received
correctly
I am unable to understand this. can you ples let me explain this.
thanks
I think there is some confusion.
You have asked soundcloud a problem about an upload of the file to soundcloud servers, and they have replied about download of the file from soundcloud.
What they mean is when a user tries to download a file from the soundcloud server, is it going via your server or directly via soundcloud.
Proxy here means the intermediate server - so they are asking is it getting to your server correctly?
I think you need to rephrase your question for them to understand it better - and clarify you mean an upload from your server to soundcloud.

VB.NET: What do I need for creating a chat application for my forums?

I own an online forum:
A host server with MySQL database support, domain name, and, MyBB forum software.
I want to create an application that will let my users log in, and, well, chat.
But I am clueless. What do I need? I have my own database online and host and everything so... What is a good start?
In order not to reinvent the wheel I'd suggest you to use one of existing solutions. For example this one (AJAX chat application. Built on top of PHP and MySQL).
Also there seem to be a chat module for MyBB forum. Read more.
-- Pavel

Newbie question on Flash video players, products/SDKs, and API

I'm a C programmer and a total newbie to Flash/video/web world. Don't know where/how to start, and so would greatly appreciate your initial help.
Question
If I need to host flash videos off of my website (instead of embedding YouTube links on my webpages),
AND
If I need to provide player API like YouTube's that can be used, say, for supporting chromeless player versions customizable via this custom API of mine...
THEN
What do I need to do essentially...?
Write a custom Flash video player?
If yes, how? I mean, using which Adobe products / tools / SDKs / language(s)?
Is there anything free/opensource available for doing this? Especially, for Linux platform?
Write a new browser (firefox) plugin for users visiting my site?
Not sure how my custom Flash video player will get to the user visiting my site for the first time?
Any books, resources that cover this problem well?
Does the Flash content need to hosted off of a Windows server only?
Currently lost. Thanks in advance,
/SD
Flash has video playback support built-in, so all you need to do is use the Flash authoring environment or Flex to compile a .SWF file that uses the video API, with some buttons to stop and start the stream, volume, seeking, anything else you want your player to do.
Many people have already done this for you, in a way you can easily use from simple HTML. See eg. OSFLV, Flowplayer, JW...
Write a new browser (firefox) plugin for users visiting my site? Does the Flash content need to hosted off of a Windows server only?
Lord no! Flash video would never have taken off if it was just another custom-server+custom-plugin piece of unpleasantness. Though special streaming servers are possible, for the most part it's just an FLV file sitting on a web server.
(FLV is the video format supported by the Flash video playing functions. There are many, many tools you can use to convert other formats to it; I use Avidemux.)
If you are planning to use a "Progressive Download" approach, then your FLV files can be hosted on a Windows or a Linux box. Be aware that:
it is no as efficient as true
streaming.
you may not use it for live events
nor only for stored video files.
it cannot automatically detect the
end user's connection speed.
it is not possible to jump ahead to
another part while it's downloaded.
the video file will be saved on the
end user's computer.
If you are planning to use a "Streaming" approach then you can either buy and use Adobe's solution (Flash Media Server, available on both Windows and Linux box) or sign up for a hosted solution. On this page you will find recommended providers by Adobe. I personally have been using Influxis's hosting with success for a couple of years already.
You can also write your own streaming server but that would be a lot of hard work. If you are interested in that, I would recommend you have a look a Red5 which is an open source Flash Server written in Java.