iPad Pro AMP (Apache, MySQL, PHP) on iPad?

Discussion in 'iPad' started by ThunderRobot, Dec 9, 2015.

  1. ThunderRobot macrumors regular

    ThunderRobot

    Joined:
    Aug 10, 2008
    Location:
    Glasgow, Scotland
    #1
    The iPad Pro is nearly everything I need to replace my ageing MacBook Air.

    It has Coda, Prompt, Office and Lightroom meaning I can do much of the work I'd need when I'm out and about.

    However until it can function as a web server for local development it's not going to be able to replace my Mac. I don't need it to be able to serve to other devices, only itself. And I could live with it only running one site / database at a time.

    Connecting to a remote server isn't always a possibility, especially when travelling.

    Is there a way to do this that anyone is aware of?

    Ideally an approved way, but would consider jail-braking (if it's even possible on the Pro?) if it was the only way. Happy to spend a reasonable amount of software if required.

    I guess, ideally, I'm looking for something like MAMP for iOS.

    Thanks.
     
  2. Ghost31 macrumors 68000

    Ghost31

    Joined:
    Jun 9, 2015
    #2
    That's a good damn question. I can't really answer it with any technical knowledge, so head over to the iPad Reddit and give this question a shot there.

    I've been using a Remote Desktop for the stuff I can't do natively on my iPad. How ya liking programming on the iPad? Im learning Python on mine with pythonisa. Diggin it! Apple needs to get cracking with that iOS 10 in June to bring more functionality
     
  3. Osty macrumors 6502a

    Joined:
    Jul 15, 2008
    Location:
    Melbourne, AU
    #3
    I was wondering this my self as I'm going through the motions of wondering if I can migrate to iOS as my primary OS.

    If you're prepared to replace your P(HP) with P(ython) and MySQL with SQLite, then I think that running something like AMP would be possible with Pythonista, which seems to include the HTTPServer classes.

    http://omz-software.com/pythonista/docs/library/basehttpserver.html

    I haven't tried it yet on my iPad mini, but will have a crack at it later today for my own curiosity as much as anything.

    I'm a technical writer and web developer by trade so work for me is mostly text editing (be it prose or code). At worse case, I could carry around a battery powered raspberry pi and use that as a portable server/workstation.
     
  4. Osty macrumors 6502a

    Joined:
    Jul 15, 2008
    Location:
    Melbourne, AU
    #5
  5. temna macrumors 6502a

    temna

    Joined:
    May 5, 2008
    #6
  6. Osty macrumors 6502a

    Joined:
    Jul 15, 2008
    Location:
    Melbourne, AU
    #7
  7. temna macrumors 6502a

    temna

    Joined:
    May 5, 2008
    #8
    Well. It will run Linux. But I'm not sure about shipping. You should be able to find them there. Somewhere.
     
  8. Osty macrumors 6502a

    Joined:
    Jul 15, 2008
    Location:
    Melbourne, AU
    #9
    Agreed, neither of my problems are insurmountable. The more I think about it, the more I reckon that it's the way to go.
     
  9. ThunderRobot thread starter macrumors regular

    ThunderRobot

    Joined:
    Aug 10, 2008
    Location:
    Glasgow, Scotland
    #10
    Sadly not. All of our client work uses an established Apache, MySQL, PHP workflow. Changing that to suit one developer's choice of device is not an option unfortunately ;)

    Interesting. I'm going to investigate this. Thanks.

    The point isn't a testing box. I have many testing boxes. I'm talking about using the iPad Pro to replace my current MacBook Air. The only thing currently stopping that is that there are times when I need to do some local dev when I have no available network - usually whilst travelling. With the Air it's easy. Spin up MAMP do my work, commit the changes and push them when I have a connection.

    If I was replacing my Air with an iPad Pro I wouldn't want to have to carry something else in addition to it.
     
  10. Osty macrumors 6502a

    Joined:
    Jul 15, 2008
    Location:
    Melbourne, AU
    #11
    Fair enough. That would be a pretty kick-ar$e use case
     
  11. temna macrumors 6502a

    temna

    Joined:
    May 5, 2008
    #12
    hmm, so maybe port over a html editor with a built in testing server.. hmm.. wonder if this would be against the rules if the "server" only ran locally and only while the editor was running..
     
  12. Rob.G macrumors 6502

    Rob.G

    Joined:
    Jan 17, 2010
    Location:
    NW Oregon
    #13
    I'd be content with a good code editor that has ftp built-in for file retrieval. I'm getting a cellular one (and I have a 30 gig data plan thanks to a deal AT&T offered a year ago) so I could access a development server remotely. I'll have to see if Coda has improved since I last had an iPad (sold my iPad 3 two years ago).
     
  13. rwp macrumors member

    Joined:
    Oct 13, 2015
    Location:
    LA, CA, US
    #14
    Textastic is a fantastic code editor IMHO that natively supports opening files from FTP, WebDav, Dropbox, iCloud, and Open In... sources. I also use it with Transmit as more fully-featured FTP client.
     
  14. usarioclave macrumors 65816

    Joined:
    Sep 26, 2003
    #15
  15. Osty macrumors 6502a

    Joined:
    Jul 15, 2008
    Location:
    Melbourne, AU
    #16
    They can't be that bad since Editorial ships with a full Python stack and it's fantastic.
     

Share This Page