You are looking at posts in the category Web.
Sorry about the lack of updates, a lot has been going on. First of all, I purchased a new intel mac, so i’ve been learning the background to Cocoa and Carbon, the two most prominent languages in Mac OSX. Secondly, I was hired by Iacmusic.com to customize an xspf player and accompanying php tracking script for use on their website. That has been finished and is running. Next on their list and already in the works is an xml photo slideshow, a little bit like Viewr.
This post marks the birthing of my text editor/WordPress blog editor (it also works somewhat with other blogs). This blog has been created with it, and I will continue to use it for the majority of my posts. The reason I began to create it was that my MySQL server began acting up and would take half an hour just to log in. Using the xml-rpc format, I was able to bypass everything, so that there is no login time, and posting takes a few seconds. No page refreshes means no waiting.
This is created entirely from scratch. although the macromedia components came in handy. The text editor is based off of an open-source flash, obedit. I had to create a method to parse the html output from an html text box into standard Xhtml. After logging in, you are able to edit or delete an existing post, or create a new one. A quick editor allows for changing text in a post without delay, or the true text editor allows for formating.
Some bugs: The Html format adds a new div for every line, unneccessary, but not noticable in the final product; Loading posts to edit loads the html, not just the text. I will create a parse method for this soon. I will also create a “cookie” to save username/password. This will be updated, but only to fix the glitches. I am also thinking of adding a spell-check like that of obedit. lacymorrow.com/flashpress/
Adobe, since acquiring Macromedia (makers of flash), has been sitting idly, keeping to themselves for a good bit of time. Now they have released Flex 2 beta 2. Flex is a language that is written in MXML, but compiled into SWF files. It is used to build quick, easy, and rich interfaces. It’s script library is enormous, containing the new Actionscript 3 Library and includes API processors for many frequently used web searches. To a flash programmer, Flex is almost cheating, it’s ease of using scripts is astounding. If you have knowledge or interest, you can download Flex here. I have yet to create my first program.
Update: Began messing around with Flex, and it is astonishingly easy to build all kinds of beautiful programs and displays. The big difference in Flash and Flex is the way these things are accomplished and how they are used. To show an XML spreadsheet in Flash, you must create a function to process the data, store everything to variables and then to arrays, then use a component or premade viewer to show your data, let alone letting you search, edit, sort, and organize any of it. Flex accomplishes this beautifully with a few lines of xml code. See Flex Demos.
Windows users, your time is gone. The Macintosh BootCamp beta was released today, eliminating any reason to keep a faulty PC around. BootCamp allows any intel Mac running 10.4.6 or over install and run the WindowsXP operating system, separate from OSX, on the same machine. This allows full access to any and all windows programs, while keeping the speed and reliability of your Macintosh partition. The windows fix for Macintosh has been around for over a year, PearPC. So now you can go ahead and buy that new iMac you’ve had you eye on. NOTE: Windows, being what it is, is still susceptible to viruses. They will not, however, affect your Macintosh partition.