Posted: July 8th, 2009 | Author: irv | Filed under: iPhone, mides | Tags: 3gs, IDE, iPhone, mides, PHP, update | No Comments »
I have been getting killed in the reviews for the past couple of weeks. Probably deservedly so. I wanted to drop a brief update as to what is going on with Mides. After exploring the concept of including a PHP interpreter to debug scripts, I have decided that at this time it isn’t practical. There are too many problems and roadblocks to implementing it, not to mention that it is only palatable, performance wise, on the iPhone 3GS, which many people do not have at this time.
What I have decided to do is to work on additional features to improve the functionality of Mides as an IDE. I have some code completion features I am working on, improving the performance of the documentation searches, and adding line numbers are a few of the improvements that I have brewing for the next release of Mides.
I appreciate all of the awesome feedback, and am working to implement as much of it as I can, or at least as much as my day-job will allow.
Posted: May 7th, 2009 | Author: irv | Filed under: android, iPhone, java, mides, PHP, Programming | Tags: android, IDE, Interpreter, iPhone, mides, parser, PHP, Programming | No Comments »
For the past few weeks I have been working on writing a PHP interpereter for Mides. As I know that I am not allowed to do it for iPhone, as it would involve downloading and executing scripting code, which is not allowed. I have only been looking at the tokenizer for the iPhone, while I have been looking at the full monty for Android.
I actually have gotten to the point where the tokenizer is passing a lot of my tests, but there is a lot of ground to cover with PHP. Tommy Carlier’s blog on writing a parser has helped tremendously. Still, even after getting the tokenizer working, I have to write an interpreter to execute the tokens. This involves implementing the many methods that PHP has built in, so it will be a while until I get that completely done.
I am pretty frustrated with Mides for iPhone, actually, I wanted it to be a full PHP implementation and editor, but until the Terms and Conditions change it isn’t worth the effort to build an entire PHP interpreter just to have the app rejected. I am still improving the iPhone version, and the next update should be a huge improvement over what is currently there. I had to remove the nesting because I need the memory for documentation search as well as the PHP tokenizer that I am working on. Overall, the next update for Mides will make it better, it will be close to what I was hoping for, but it will never be completely what I was hoping for on iPhone.
The Android version of Mides on the other hand is shaping up nicely. The Android text view supports color so I have some syntax highlighting happening which doesn’t hurt performance on the G1 too badly. The tokenizer is mostly done, and now I am designing the interpreter. Development on Android is going a lot faster since I don’t have to worry quite as much about memory leaks, although if you try you can still make them happen.
At any rate that is why there haven’t been any updates for Mides in a while, I have been working on localization, parsers, and interpreters. I am spending most of my time on the iPhone version of Mides, but it seems that I am getting farther with the Android version, go figure.
Posted: January 17th, 2009 | Author: irv | Filed under: mides, Uncategorized | Tags: Cocoa, IDE, Interpreter, iPhone, mides, Objective-C, PHP, Touch | No Comments »
Mides and The PHP Interpreter
I really want to put a PHP interpreter into Mides, the problem is my interpretation of the Ts & Cs of the App Store. It is my understanding that executing downloaded scripts is prohibited. To the best of my knowledge, downloading a bunch of PHP templates and running them through the interpreter runs afoul of that provision.
What that really means to me is that the dream that I had when I originally wrote Mides will be a long time coming. I think that with some competition, Apple will hopefully broaden the types of applications that are available in the app store. It would be fantastic if they allowed scripting languages to be included in apps. It would be awesome to have the ability to have ruby on the device, as well as PHP and Python. Really the only platform that I could put some sort of PHP interpreter onto would be Android, but for some reason I am just not super excited about it.
What I am super excited about is the Palm Pre. It looks sweet, oh well Mides fans, I guess we’ll just have to wait.
* 5/6/2009 – I am currently working on a Dalvik compatible compiler for PHP that will work on Android. It is a bit harder than I thought, so we’ll see if I can get through it. I looked at it on iPhone, and it still seems to be a no-go. *