Good way to access MacBook local server on ipad? - ipad

I'm working on developing web apps for ipad and I was wondering if there's a good & relatively simple way to host on my local server during development and access that on my ipad to see the site without needing to host online.
thanks

You are in luck! OSX comes with Apache :)
http://www.klauskomenda.com/archives/2008/10/07/installing-apache-mysql-and-php-on-leopard/ is a good place to start.

Related

Does anyone know of a way to take an existing MVC Web application that uses IIS and MSSQL and run it on an iPad?

All my searches have turned up nothing of use. I saw mention of UTM but you have to do some shady stuff to get that to work and Merge VM Pro but that only has 5 reviews and 2 say it is a pile of junk.
I can't find any container frameworks that run on iPad.
Most search results are people saying Apple won't let other operating systems run on their devices which certainly fits Apple approach.
Any other legit ideas are appreciated. Basically I have an existing MVC Web app but I need it to work when iPad has no connectivity so can't use it like it is intended with just going to it from a Web Browser. It is a pretty beefy app so rewriting it in some other tech to run on iPad (e.g. Swift, Xamarin, HTML5) is what I am trying to avoid.

Communication between iOS app to MacOS app

I'm an iOS developer and I want to make an MacOS / OSX application to save files onto the Macbook hard drive that are sent via the internet / wifi from my iPhone, but I haven't got the faintest idea what to research / google when it comes to this.
The three phases as I see them are
Create files on iPhone (Done)
Some transport / network / server layer on OSX app for iPhone to connect to
Storing of files by OSX app...
1 and 3 are pretty straightforward but 2 I don't have a clue... where do I start? socket / server / Apple api.. what should I be searching for?
Apologies in advance... I know the usual community rules about posting broad questions, but I'm completely stuck.
I'll delete the question if it's deemed unworthy, but I'd really love to know if I'm completely barking up the wrong tree / whether there's a really simple solution.
There are a few ways that I'd recommend to do this.
Amazon S3 to store the files and access them on each device.
Firebase Storage instead of S3.
CloudKit can also be used to store information like you can in CoreData.
You don't need any sort of API or backend experience to use any of these, so this may be the best bet for you.
Hope that helps.

Send data to windows from iphone using Xamarin

I'm trying to write an IOS app using Xamarin that sends data to PC using TCP. I want it to do this with Cable or WiFi. I have been researching around the net for sometime now. But couldn't find any good tutorials. I'am aware that I should be using NSNet and Bonjour Windows SDK but I couldn't find anything more than that. Any suggestions or directions on how to achieve this would be very helpful. Thanks in advance.
If you are using Xamarin then the more preferred choice would be to write things using System.Net.Sockets namespace. This way you can reuse the code with other C# clients, including Android (if needed).
Plenty of examples on TcpClient/TcpServer.
https://msdn.microsoft.com/en-us/library/vstudio/system.net.sockets.tcpclient(v=vs.110).aspx

Debugging through apple profile manager code base

I am total ios/ruby noob trying to build a custom mdm server for ipad devices and from what Ive seen on Stackoverflow here and here , there is a mdm server available with OSX lion server . But since I want to try to run it on a mac, I have bought the app from the app store from here and I am trying to understand how it has been built by looking at the ruby scripts. But I am having difficulty understanding the code and was wondering if there is a way to debug through it to understand what does what. Is there a way to do this ? I think the frontend is built using sproutcore and the backend is all built in Ruby. I am trying to understand it so I can build a custom server on my own.
Thanks
I believe in this case, your best bet is MDM documentation. It's much easier to read the documentation to understand whole protocol, instead of trying to figure out from the source why they are doing one thing or another.
Here is reverse engineered documentation:
http://media.blackhat.com/bh-us-11/Schuetz/BH_US_11_Schuetz_InsideAppleMDM_WP.pdf
And Apple has full documentation. It was accessible on Apple developer downloads. However, I can't find a link right now.

Developing on the ipad and will this help productivity

Can the ipad be a productivity improvement tool for software developers. What tools are out there to help while being away from my main work station or laptop ?
Are there remote tools available and is touch screen in this case a positive or negative factor ?
I use iTap RDP. I VPN in and use that app to get instant access to my workstation without actually having to be there. I wouldn't do a lot of work there, but it's great for doing those one or two things that 'gee if I was at my desk...' could solve.
"...help while being away..." Help with what?
Most of your stadard remote tools are available (SSH, RDP, VNC) but I would think in general they would be a lot more beneficial to sysadmins who can resolve problems without being at their desk, or in the office (Jump Desktop + VPN + 3G = WIN when a service crashes when you are at a conference).
However, I don't see how it would help with software development at all.

Resources