Re: How to approach to write such an app?
Re: How to approach to write such an app?
- Subject: Re: How to approach to write such an app?
- From: ico <email@hidden>
- Date: Mon, 29 Nov 2010 12:14:31 +0800
Hi Jeff,
I am not going to store threads and messages into the iPhone. The app merely
get data from the forum(web server). And store
the data into the forum(web server) as well. I know it uses MySQL database.
So if the user post a new thread to the forum through
my App, I should store those data into the web server as well just like you
do through a browser on PC. The only data I plan to
store in the iPhone is the user login data. So that they don't need to login
every time when launching the app. Of course I would
provide an option to them for not storing login data at all for privacy
reason.
btw, how can I encrypt those login data such as login name and password in
the iPhone?
On Mon, Nov 29, 2010 at 11:44 AM, Jeff Kelley <email@hidden> wrote:
> The data format isn’t really the big deal here. Instead, you should think
> about the internal structure of your app; how are you going to store users,
> threads, individual messages, different forums, etc.? Core Data is an
> option, which gets you persistence for free.
>
> Once you get that figured out, getting the information from the server to
> the application is a matter of getting the data from one format to another.
>
> -Jeff
>
> On Nov 28, 2010, at 10:33 PM, ico wrote:
>
> Thanks for your reply. I actually just found out that Discuz is like a
> brand. I thought it was
> commonly used world wide.
> Actually Discuz is just a forum written in PHP. Sure I should communicate
> with that team
> to see what they can provide.(data format, functions etc).
> Anyway, what if this forum is simply like many PHP forum out there, what is
> the best
> approach to communicate with this forum through my iPhone app?
> Is JSON the best way to do suppose it supports JSON and XML formated pages.
> Or it only supports to provide HTML stuff, should I work on the server side
> to make
> it supports providing JSON or XML formated pages?
> All in one is that I want to know the best way to approach that no matter
> what data
> format it can provide. Assume that I am able to make it to support that
> data format
> even though it originally does not.
>
> On Mon, Nov 29, 2010 at 11:09 AM, Jeff Kelley <email@hidden>wrote:
>
>> Hello,
>>
>> You may have not gotten a response yet because this list focuses on
>> Cocoa development, but your question is really more of a Discuz
>> question. How you approach writing an application will depend on what
>> kinds of data you can get from the Discuz installation, whether it
>> gives you JSON- or XML-formatted pages, or if you’ll have to scrape
>> the HTML to get it to work. I’d recommend reading the Discuz
>> documentation or asking on its discussion forum, if it has one.
>>
>> Jeffrey R. Kelley
>> email@hidden
>>
>>
>>
>> On Sun, Nov 28, 2010 at 10:01 PM, ico <email@hidden> wrote:
>> > Hi all,
>> > No clue for this? Probably I should rephrase my question as below:
>> > Suppose I have an forum powered by Discuz. I want to write an iPhone
>> > application which can
>> > access that forum, any forum operation like browsing, reply, change
>> profile,
>> > make it favourite post etc can be done in that iPhone application as
>> well.
>> > I just wonder how to approach that, say what documents I should read
>> first,
>> > what knowledge or technology I should master to do it?
>> > My idea is to start with reading CFNetwork programming guide and stream
>> > programming guide for cocoa. I also wonder if JSON and ASIHTTPRequest(
>> > http://allseeing-i.com/ASIHTTPRequest/How-to-use) could help.
>> > Can you guys point me a right direction to approach writing this app?
>> Any
>> > advice is appreciated!
>> >
>> > On Sun, Nov 28, 2010 at 2:57 PM, ico <email@hidden> wrote:
>> >
>> >> Hi All,
>> >>
>> >> Suppose I have an forum powered by Discuz. I want to write an iPhone
>> >> application which is like a portal can
>> >> access that forum, any forum operation like browsing, reply, change
>> >> profile, make it favourite post etc can
>> >> be done in that iPhone application as well.
>> >> I just wonder how to approach that, say what documents I should read
>> first,
>> >> what knowledge or technology
>> >> I should master to do it?
>> >> My idea is to start with reading CFNetwork programming guide and stream
>> >> programming guide for cocoa.
>> >> Any advice is appreciated!
>>
>
--
==========================
Life isn't about finding yourself.
Life is about creating yourself.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden