+9
Under review
Nathan Boyd 4 years ago • updated by Alexander Blach (Developer) 1 month ago 10 3 duplicates

I downloaded this app as I'm learning PHP coding. Although I think this app is really useful, the fact that it cannot render PHP code correctly is disappointing. Is this going to be fixed anytime soon?

Duplicates 3

You will notice that all apps that support running code - like Codea and PythonMath for example - had to remove sharing capabilities. So, if I wanted to add the ability to run code in Textastic, I'd have to remove FTP, "Open In", WebDAV, Dropbox and all other means of sharing files with other apps.


That's a limitation that is imposed by Apple, sorry.

Dear Alexander, you may be aware of this, but just as recently as today Apple is now allowing "open in" for apps that execute code.  The APP DraftCode has just implemented it in their update today......but as a coding app they're not nearly as good as Textastic.....I LOVE textastic and hope this new open door means the PHP functionality will be included......if you did include it, I believe this would make Textastic the coding app choice for developers.  Thank you for considering this.  And, as always, I can't thank you enough for the great app you've provided!  Many sincere thanks!  -Louis

Under review

Yes, I've seen that. That's excellent news.

 Thanks for getting back to me Alexander, I love this app. Could It be possible to create another app for this purpose that accesses the same file system as this app, so you could code in this app, and then open the other app to run the code? Just a thought

I guess that would count as sharing, sorry. Also, it's not possible for an app to access files in the sandbox of another app. 

+2

Textastic offers syntax highlighting for many languages including PHP, but it doesn't include compilers or interpreters due to restrictions of iOS.

If you try to preview the php file locally, only the html part will be interpreted by the web view. The PHP part will be ignored.

In order to preview PHP in Textastic, you can upload the file to a test server, open the preview screen, 
and enter the remote url of your test server.

Ah, ok....I understand all that. Is a shame as I was only going to be using this app offline as my iPad doesn't have 3G and I'm not running a web server yet so it's not going to be much use to me at the moment. Although I appreciate this is a good app and well done on the development but is there any chance I can get a refund as it's no use to me?

-1

You can ask the iTunes team for a refund. There's a guide for this at http://gizmodo.com/5886683/how-to-get-a-refund-from-the-app-store

+1

Kudos for Textastic. It's the best code editor for the iPad.


I noticed that Kodiak Javascript now supports Dropbox and assume that Kodiak PHP will also support it in an upcoming update. Neither of these editors comes close to supporting the Textastic feature set, but they could be used as containers for running PHP or Javascript code once Dropbox support is fully implemented..

Can you add SMB to the connections? I VPN to my local network from my iPad, this way I can connect directly to my test environment in the office and write code and check it from my iPad (we have intranet, nothing outside)