Jul 03, 2009, 09:48 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Search via SMF or Google: modx forums all of modxcms.com web
  MODxCMS.com   Forums   Help Login Register  
News:Donate to MODx: Donations
Pages: [1] 2 3 ... 5   Go Down
  Print  
Author Topic: [Mac OS X app for MODx Publishing] Command Control (cmd + ctrl)  (Read 18259 times)
0 Members and 1 Guest are viewing this topic.
Dr. Scotty Delicious
Coding Team
*
Posts: 1,183


D.F.P.A.


WWW
« 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.


* cmdctrl_screenshot.jpg (106.75 KB, 1000x667 - viewed 661 times.)
« Last Edit: Feb 07, 2007, 09:06 PM by Dr. Scotty Delicious » Logged

garryn
Coding Team
*
Posts: 1,252



WWW
« Reply #1 on: Jan 22, 2007, 06:16 PM »

Very, very nice! That looks superb Grin 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 Wink

Keep it up, Scotty!

Logged

rthrash
Foundation
*
Posts: 10,471



WWW
« 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
MODx evangelist
Marketing & Design Team
*
Posts: 7,026


Software is like sex, it's better when it's free !


WWW
« 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 Grin)
Logged

.: nodeo.net : Pour un web libre, moderne et ouvert ! :: david-molliere.net : Suivez en "live" mes expérimentations et billets sur les CMS et autres applications web :.

*** Forums modxcms.fr Participez ŕ l'élaboration du site MODx francophone ! ***

! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accčs pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.67 - PHP 5.2.8 | Debian 4.0 (Etch)

Réalisations sous MODx : | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net
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,183


D.F.P.A.


WWW
« 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,183


D.F.P.A.


WWW
« 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:
Code:
require_once('manager/includes/config.inc.php');
and not any reference to scottydelicious LOL  Embarrassed

-sD-
Dr. Scotty Delicious, Scientist.
Logged

sottwell
Documentation Team
*
Posts: 8,825



WWW
« Reply #7 on: Jan 23, 2007, 12:34 AM »

Can I test too? Can I? Can I?  Shocked
Logged

sottwell.com has moved to a lovely Solaris 10 server!
Log in username guest, password guestuser.
Templates are now becoming available at http://sottwell.com/templates.html
Dr. Scotty Delicious
Coding Team
*
Posts: 1,183


D.F.P.A.


WWW
« Reply #8 on: Jan 23, 2007, 01:02 AM »

Can I test too? Can I? Can I?  Shocked
Susan, I sent you a package to your loripsum address

-sD-
Dr. Scotty Delicious, Scientist.
Logged

doze
Coding Team
*
Posts: 3,659


....Boom!


« Reply #9 on: Jan 23, 2007, 04:13 AM »

Very nice Scotty!!  Cheesy
Logged

New MODx wiki! Please help up with documentation efforts! || Old Wiki
yoomai
Sr. Member
****
Posts: 261



WWW
« Reply #10 on: Jan 23, 2007, 03:43 PM »

Amazing.
Logged

sottwell
Documentation Team
*
Posts: 8,825



WWW
« 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

sottwell.com has moved to a lovely Solaris 10 server!
Log in username guest, password guestuser.
Templates are now becoming available at http://sottwell.com/templates.html
sottwell
Documentation Team
*
Posts: 8,825



WWW
« 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

sottwell.com has moved to a lovely Solaris 10 server!
Log in username guest, password guestuser.
Templates are now becoming available at http://sottwell.com/templates.html
Dr. Scotty Delicious
Coding Team
*
Posts: 1,183


D.F.P.A.


WWW
« 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!  Wink

On the TODO for TODAY.  Grin

BTW, Here is a screencap of the new document list, complete with custom "iTunes-esque" window style.

-sD-
Dr. Scotty Delicious,  Scientist.


* 003docList.jpg (46.67 KB, 250x630 - viewed 444 times.)
Logged

sottwell
Documentation Team
*
Posts: 8,825



WWW
« Reply #14 on: Jan 24, 2007, 10:24 AM »

It doesn't save the URL in Preferences.

And you really should use mysql_real_escape_string()

However... http://www.sottwell.com/command-control.html


* editor.jpg (143.15 KB, 642x583 - viewed 451 times.)

* preferences.jpg (57.26 KB, 356x273 - viewed 446 times.)
« Last Edit: Jan 24, 2007, 10:26 AM by sottwell » Logged

sottwell.com has moved to a lovely Solaris 10 server!
Log in username guest, password guestuser.
Templates are now becoming available at http://sottwell.com/templates.html
Pages: [1] 2 3 ... 5   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP

Copyright © 2005-2008 MODxCMS, All rights reserved. Contact Us
Styles by ziworks.com

Powered by SMF | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!