The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. December 01, 2008, 02:26:54 PM

Login with username, password and session length


Pages: 1 [2]
  Print  
Author Topic: PHP on iPhone  (Read 1018 times)
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Online Online

Posts: 625



View Profile
« Reply #15 on: May 21, 2008, 12:59:12 PM »

So you could write drivers for it?

You can see the whole dir tree? right down to root? I know I can on my jailbroken phone, but I haven't dinked around with the SDK yet to know if you can or not.
Logged

perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5211


:sniffle: Humor was so much easier before.


View Profile
« Reply #16 on: May 21, 2008, 01:05:48 PM »

The SDK is simply an Objective C class library man. It's GCC compiled on the Mac. Jailbreaking does not change the OS or the phone, it simply allows you to move things over to it and execute them, which was a denied feature of the OS - not an addition by the hackers.

So the SDK exposes virtually everything about the phone. For example - you are warned against it repeatedly and heatedly, but you are physically capable of writing daemons that run full time. I did not understand why they pushed so hard against it until I read over the thermal management issues - there is a *lot* of processing going on in that little box and heat is a real problem. So one of the ways that the OS was tweaked was to slow down and minimize processing wherever you can - otherwise you burn battery and get the processor too excited. So the guidelines specifically argue that anything that continually processes (like a busy-waiting daemon written by a n00b) would be a horrible thing to put on the phone. I'd argue that if you knew your stuff and your daemon was no more demanding than the email retriever (ie., asleep until specifically needed for short bursty processing) you'd be all good.

The SDK came down to me as an extension library for XCode - the programming environment for the Mac itself - it's more or less another type of compiled target and more libraries. Extensions include access to the accelerometer, proximity sensor, positional gyros and such... which is shy a lot of folks are talking Sony PSP / Wii competitor.

It's bigger and cooler than you think man.
« Last Edit: May 21, 2008, 01:08:46 PM by perkiset » Logged

If I can't be Mr. Root then I don't want to play.
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Online Online

Posts: 625



View Profile
« Reply #17 on: May 21, 2008, 04:31:24 PM »

Jailbreaking does not change the OS or the phone, it simply allows you to move things over to it and execute them, which was a denied feature of the OS - not an addition by the hackers.

Kind of, but misleading.

As of 1.14, the jailbreak includes and installation of the BSD subsystem, which unlocks the OS and makes it completely usable. I won't believe that the SDK functions exactly that way until I see it. Forgive me for not having much faith, but Apple has not impressed me so far.
Logged

perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5211


:sniffle: Humor was so much easier before.


View Profile
« Reply #18 on: May 21, 2008, 11:18:56 PM »

LOL ... then you're not looking deep enough. Do not be fooled by propaganda, whether positive or negative. Try downloading the SDK and have a look.

Side note - if Apple doesn't impress you, who does? That's a wicked high bar you must have there Wink
Logged

If I can't be Mr. Root then I don't want to play.
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Online Online

Posts: 625



View Profile
« Reply #19 on: May 22, 2008, 05:41:02 AM »

LOL ... then you're not looking deep enough. Do not be fooled by propaganda, whether positive or negative. Try downloading the SDK and have a look.

Side note - if Apple doesn't impress you, who does? That's a wicked high bar you must have there Wink

Their products impress me. Their douchebaggish attitude towards hackers and open source does not.
Logged

jammaster82
Expert
****
Offline Offline

Posts: 296

bloody hacker


View Profile WWW
« Reply #20 on: May 22, 2008, 06:48:24 AM »

[....]but it's not as long as I had hoped...[...]

::sigh!:: me neither man, but when i shave the hair off the bottom,
it looks a little bigger .... plus i exclusively date midgets so that
it looks REALLY BIG IN THEIR HANDS!!

Bow before the awesome power of my [...] EDITORIAL ELLIPSES!!! hahahaha sorry
homey, couldnt resist that one after big cup o' starbucks this am... ROFLMAO ROFLMAO ROFLMAO
Logged

Of course Big Brother exists, he is the embodiment of the party..... Does he exist in the same way I exist?....... You, do not exist.
Pages: 1 [2]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!