Finished Reading the Apress Beginning iPhone 3 Development Book.

Finished reading the 500+ page Apress book, Beginning iPhone 3 Development: Exploring the iPhone SDK.  As I have all other books released by Apress on developing for the iPhone, I’ll continue reading more of the books I have.  When I get an iPad, I’ll be sure to buy some of the books by Apress on the iPad.

I also have the More iPhone 3 Development book by Apress.  Which I will read after I finish some of the shorter 200+ page books that I’ve also ordered from Apress on Amazon.  No Kindle for me though.  I do have the eBooks in PDF form from Apress and the printed copies of all the books from the Amazon store.  Just wish the iPad would be released sooner, so I can begin reading the books on it while I’m developing apps for it at the same time.  I do plan to get 2 iPads.  One for development, and one for regular daily use.

If I get time, I’ll include more tutorials on Apple Snow Leopard PHP extensions, as I’ve been asked in the different comments.  Though I’ve been spending most of my time writing software ideas and studying for the iPhone OS.

3 books down, many more to go.

VN:F [1.8.1_1037]
Rating: 8.0/10 (1 vote cast)
VN:F [1.8.1_1037]
Rating: 0 (from 0 votes)

Apple iPad and the Need to Buy One

I will pre-order an Apple iPad the day they are available for pre-sale, or regular order on the day if they are immediately available for purchase.  I am thinking about getting the WiFi model first to use for development, and then later getting the WiFi + 3G model for everyday use.

I’ve already begun switching over to the iPad beta SDK environment while I study all the Cocoa Touch and Objective-C 2.0 reading and testing.  Though it be nice to be able to test on the production device, as it would be more entertaining.

Need to upgrade/replace my MacBook 13″ sometime soon too.  Would be nice to get a 27″ iMac with a second 27″ external display, or get a Mac Pro with 3 external monitors.  Need more screen space for programming and software development.  13″ MacBook screen and external 19″ screen doesn’t give enough space for development.  The iPad screen for the development simulator is too large to fit on the MacBook 13″ screen at full resolution.

So, it looks like the iPad device will cause me to want to purchase 2 or 3 more additional Apple products.  Apple sure knows how to sell to me.

VN:F [1.8.1_1037]
Rating: 6.5/10 (2 votes cast)
VN:F [1.8.1_1037]
Rating: 0 (from 0 votes)

Mac Tablet: You buying?

Been studying iPhone App Development over the past few months.  Reading all the books that I’ve been buying in the Apress series, so I don’t always find myself replying to all the comments or questions I get on this blog.  As I have about 1200 pages of iPhone books to read through as fast as possible.  I’ve already pre-ordered all the Apress books yet to be published on the iPhone.  What I read on other blogs is that the Mac Tablet will possible be supporting the iPhone OS and at the very least, iPhone App software technology with Cocoa Touch interfaces.  So I need to beef up my iPhone studies if I want to produce a decent set of software for such a device.

So here is the real question.  Are you going to buy the Mac Tablet if it is released this year?  If so, how soon after it’s released?  If not, why not?  Pros, cons, etc… Let me know what your thoughts are.

VN:F [1.8.1_1037]
Rating: 7.5/10 (2 votes cast)
VN:F [1.8.1_1037]
Rating: 0 (from 0 votes)

Snow Leopard PHP and IMAP Support

Seeing as how the stock Apple Mac OS X 10.6 Snow Leopard PHP 5.3 doesn’t come with IMAP extension support, I realized it was time to add it in to build a tool to extract data from my gmail account emails. Here is the steps I took to get it installed and working.

Step 1:

Download IMAP source code. (2007e as of writing this). Without this, trying to compile the IMAP PHP extension will give you errors and will refuse to compile.

Unpack the imap-2007e.tar.gz file.

In Terminal:

sudo mv ~/Downloads/imap-2007e /usr/local/imap-2007
cd /usr/local/imap-2007
make osx
sudo cp c-client/c-client.a c-client/libc-client.a

Step 2:

Download PHP 5.3.0 source code for the php imap extension here. I already had a copy from my previous extension tutorial, so I just used that copy.

Unpack the file php-5.3.0.tar.gz. We will only need to use the code within the ext/imap directory. No need to compile all of PHP for this.

In Terminal:

cd ~/Downloads/php-5.3.0/ext/imap
phpize
./configure --with-imap==/usr/local/imap-2007 --with-kerberos --with-imap-ssl
make
sudo cp modules/imap.so /usr/lib/php/extensions/no-debug-non-zts-20090626/

Step 3:

Add in the extension location to the php.ini file.

In Terminal:

sudo pico /etc/php.ini

I placed the following after all the commented out lines for extensions:

extension=/usr/lib/php/extensions/no-debug-non-zts-20090626/imap.so

After you have placed that line in there, press Control-X to exit and save.

Step 4:

Restart Apache.

In Terminal:

sudo apachectl graceful

Now you should be able to see the imap extension installed in your stock Apple PHP.

VN:F [1.8.1_1037]
Rating: 10.0/10 (1 vote cast)
VN:F [1.8.1_1037]
Rating: 0 (from 0 votes)