Dr. Scotty Delicious
Coding Team

Posts: 1,167
Dr. of Fine Pirate Arts
|
 |
« on: Jan 22, 2007, 06:00 PM » |
|
I am writing an application for Mac OS X. It is called Command Control (⌘ + ctrl buttons from the Mac OS keyboard... pretty clever, huh?) This application, written in Xcode (objective-c cocoa and applescript) allows you to connect to your MODx database, get the list of documents, edit them, create new documents, delete documents, etc... It uses an XML-RPC server I put together based on the The Incutio XML-RPC Library for PHP to send and receive data from the Mac OS X desktop, so it consists of 2 parts. Command Control.app (the OS X application) and cmdctrl.php (the XML-RPC server you upload to the root of your MODx installation). This is VERY alpha software. Only the basics are working at this time (edit, create new, and delete). I am working on the RTE, which at this point allows text input, but the heading 1-6 selectors and the bold, italics, and underline buttons are not working yet. I am also working on image upload. The whole RTE thing I am finding out is no trivial task (to say the least). To keep an eye on the project and to download the latest binary, go to http://piratemachine.org/software/*** EDIT *** I am rewriting this in REALBasic so I can deliver binary executables for all major platforms. I would like to get suggestions for a name for this app (since cmd+ctrl is a term that only seems appropriate for the Mac) from this community. Please post your naming suggestions in this forum thread. -sD- Dr. Scotty Delicious, Scientist.
|
|
|
« Last Edit: Feb 07, 2007, 09:06 PM by Dr. Scotty Delicious »
|
Logged
|
|
|
|
garryn
Coding Team

Posts: 1,090
|
 |
« Reply #1 on: Jan 22, 2007, 06:16 PM » |
|
Very, very nice! That looks superb  Heh, quite funny as I only got XCode up and running at the weekend for a bit of widget development - oh, and you have yourself an alpha tester btw  Keep it up, Scotty!
|
|
|
|
|
Logged
|
|
|
|
rthrash
Foundation

Posts: 8,910
|
 |
« Reply #2 on: Jan 22, 2007, 06:28 PM » |
|
Jaw drops. Me likey ... LOTS!
|
|
|
|
|
Logged
|
MODx is a framework that allows web professionals to turn over sites to end-users for daily maintenance without worrying. Community participation and questions are encouraged, especially when you help us help you, read the wiki, and review snippet parameters – even if you have to look at the source. Searching the forums helps, too.
Ryan Thrash
MODx Co-Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
|
|
|
davidm
Marketing & Design Team

Posts: 6,468
The best way to predict the future is to invent it
|
 |
« Reply #3 on: Jan 22, 2007, 06:51 PM » |
|
+1 Scotty you never cease to amaze me ! This is simply H-U-G-E ! Where the hell do you find time to learn so many things so fast ? I am in awe (and happy too, glad to be a Mac user  )
|
|
|
|
|
Logged
|
|
|
|
omid
Jr. Member

Posts: 23
|
 |
« Reply #4 on: Jan 22, 2007, 07:34 PM » |
|
Fantastic !!! You've got another alpha tester ! :-)
How do you manage the offline-online part ? Will I be able to access the app and the previously synchronized document when i'm offline ? Will it be a solution for having a real "rich text editor" compatible with Mac OS X ?
By the way, why don't we have a "Mac" section on the forum ? (or i've missed it ?)
|
|
|
|
|
Logged
|
|
|
|
Dr. Scotty Delicious
Coding Team

Posts: 1,167
Dr. of Fine Pirate Arts
|
 |
« Reply #5 on: Jan 22, 2007, 07:44 PM » |
|
Fantastic !!! You've got another alpha tester ! :-)
Cool! PM me your email address and I will send you the App. How do you manage the offline-online part ?
You will have to be online at this point, but perhaps storing the information locally using Xcode's Core Data and then syncing that on connection to the remote host would be cool. Will I be able to access the app and the previously synchronized document when i'm offline ?
Not at this point. Great feature request though. I will put it on the TODO list. Will it be a solution for having a real "rich text editor" compatible with Mac OS X ?
That is the idea. Your definition of "Real" and mine may vary. What I am shooting for at this point is a basic WYSIWYG HTML editor, much like the basic toolbar set for TinyMCE. Who knows though, maybe next I will do drag and drop support for images. We will see I guess. By the way, why don't we have a "Mac" section on the forum ? (or i've missed it ?)
Because MODx is platform independant. Although there are intricacies involved specific to the Mac OS, they are more specifically tied to a particular browser. Although we are all trying to contribute ideas and solutions to make this work exactly the same on every possible browser, there are a lot of variables that make that quite difficult to say the least. -sD- Dr. Scotty Delicious, Scientist.
|
|
|
|
« Last Edit: Jan 22, 2007, 08:30 PM by Dr. Scotty Delicious »
|
Logged
|
|
|
|
Dr. Scotty Delicious
Coding Team

Posts: 1,167
Dr. of Fine Pirate Arts
|
 |
« Reply #6 on: Jan 22, 2007, 09:50 PM » |
|
Mark helped me track down a bug in cmdctrl.php (a really stupid mistake actually). Line 829 should read: require_once('manager/includes/config.inc.php');
and not any reference to scottydelicious LOL  -sD- Dr. Scotty Delicious, Scientist.
|
|
|
|
|
Logged
|
|
|
|
sottwell
Documentation Team

Posts: 7,200
|
 |
« Reply #7 on: Jan 23, 2007, 12:34 AM » |
|
Can I test too? Can I? Can I? 
|
|
|
|
|
Logged
|
Live site! sottwell.com - Manager user: guest, password: guestuserMODx Templates - SkinGraft ready! Loripsum
|
|
|
Dr. Scotty Delicious
Coding Team

Posts: 1,167
Dr. of Fine Pirate Arts
|
 |
« Reply #8 on: Jan 23, 2007, 01:02 AM » |
|
Can I test too? Can I? Can I?  Susan, I sent you a package to your loripsum address -sD- Dr. Scotty Delicious, Scientist.
|
|
|
|
|
Logged
|
|
|
|
doze
Coding Team

Posts: 2,944
....Boom!
|
 |
« Reply #9 on: Jan 23, 2007, 04:13 AM » |
|
Very nice Scotty!! 
|
|
|
|
|
Logged
|
|
|
|
|
yoomai
|
 |
« Reply #10 on: Jan 23, 2007, 03:43 PM » |
|
Amazing.
|
|
|
|
|
Logged
|
|
|
|
sottwell
Documentation Team

Posts: 7,200
|
 |
« Reply #11 on: Jan 24, 2007, 09:01 AM » |
|
It needs a bit of input validation, the database wasn't happy about the apostrophes in my page content.
|
|
|
|
« Last Edit: Jan 24, 2007, 09:53 AM by sottwell »
|
Logged
|
Live site! sottwell.com - Manager user: guest, password: guestuserMODx Templates - SkinGraft ready! Loripsum
|
|
|
sottwell
Documentation Team

Posts: 7,200
|
 |
« Reply #12 on: Jan 24, 2007, 09:51 AM » |
|
It got real unhappy with me when I clicked on "Cancel" on the little dialog about the published status. In fact, it's still just sitting there with the blue progress bar spinning or whatever it is that it does. I'll have to do a force quit.
|
|
|
|
|
Logged
|
Live site! sottwell.com - Manager user: guest, password: guestuserMODx Templates - SkinGraft ready! Loripsum
|
|
|
Dr. Scotty Delicious
Coding Team

Posts: 1,167
Dr. of Fine Pirate Arts
|
 |
« Reply #13 on: Jan 24, 2007, 10:03 AM » |
|
Holy CRAP! I think I forgot to mysql_escape_string() the saved content! oh, and the "published = (0 or 1)" dialog was for debugging, and was never supposed to make it into one of these distrobutions. I think you have alpha 0.0.2 or 0.0.1. The folks who have 0.0.3 won't know what Susan is talking about, but Susan... I will have an updated version with the doc list as an outline (as in the attached photo) hopefully by the end of the day. You can have the first copy!  On the TODO for TODAY.  BTW, Here is a screencap of the new document list, complete with custom "iTunes-esque" window style. -sD- Dr. Scotty Delicious, Scientist.
|
|
|
|
Logged
|
|
|
|
|
|
|