Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
JApplicationCli and Drush
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Pastor Dan  
View profile  
 More options Apr 30 2012, 11:29 pm
From: Pastor Dan <pastordanwal...@gmail.com>
Date: Mon, 30 Apr 2012 20:29:50 -0700 (PDT)
Local: Mon, Apr 30 2012 11:29 pm
Subject: JApplicationCli and Drush

Drupal has a fantastic command-line interface called Drush (http://drush.ws<http://drush.ws/help/5>).
It seems to me that a major use of JApplicationCli in Joomla could be to
enable a similar functionality. Basically, allow installation, upgrades,
enabling/disabling of extensions, permission changes and so forth on Joomla
sites via the command line. This would allow a developer to maintain many
Joomla sites with a minimum of effort. Yet, I see almost nothing written
about this. It seems most view the platform as a vehicle for building apps
that have nothing to do with the CMS. What is the potential for building
Drush-like functionality with JApplicationCli? It would be great if someone
more knowledgeable than I could build some example Cli apps that allow you
to perform at least some of the Drush functions on Joomla. If I am missing
some information on this, please point me in the right direction.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Eddie  
View profile  
 More options Apr 30 2012, 11:55 pm
From: Andrew Eddie <mambob...@gmail.com>
Date: Tue, 1 May 2012 13:55:34 +1000
Local: Mon, Apr 30 2012 11:55 pm
Subject: Re: [jplatform] JApplicationCli and Drush
Interesting questions.

The quick answer is yes, JApplicationCli is what you'd use to build
the Joomla equivalent to Drush, but I probably wouldn't design Joosh
(?) like Drush.

What we are doing at eBay, for a project, is designing a web services
platform for next-gen sites, but we have a command line interface for
that platform as well.  For example, the let's say the API for getting
an article (as a json string) is:

http:://api.url/article/123

We've made it so you can invoke that from the command line as well, like this:

$ services /v1/json/article/123

Where "v1" is the API version and "json" is the return format.  The
CLI is just a proxy to the same/similar route to load the same
controller that the web service would load (two birds with one stone).

That's what I'd do if I was designing a new project or thinking about
the future of Joomla as a content delivery platform.  As for
retrofitting the existing CMS with a CLI goes, that would be a big
job.

Regards,
Andrew Eddie

On 1 May 2012 13:29, Pastor Dan <pastordanwal...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Davenport  
View profile  
 More options May 1 2012, 2:37 am
From: Chris Davenport <chris.davenp...@joomla.org>
Date: Tue, 1 May 2012 07:37:43 +0100
Local: Tues, May 1 2012 2:37 am
Subject: Re: [jplatform] JApplicationCli and Drush

This is one of the reasons why we are trying to form a Web Services Working
Group, to try to rally people to create just such a feature.

http://docs.joomla.org/Production_Working_Groups#Web_Services_Working...

Chris.

On 1 May 2012 04:55, Andrew Eddie <mambob...@gmail.com> wrote:

--
Chris Davenport
Joomla Leadership Team - Production Working Group
Joomla Documentation Coordinator

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pastor Dan  
View profile  
 More options May 1 2012, 4:36 pm
From: Pastor Dan <pastordanwal...@gmail.com>
Date: Tue, 1 May 2012 13:36:14 -0700 (PDT)
Local: Tues, May 1 2012 4:36 pm
Subject: Re: [jplatform] JApplicationCli and Drush

I have since found this JApplicationCli extension installer script at  
https://github.com/pasamio/joomla-cli-apps . This is exactly what I had in
mind and works quite well utilizing the Joomla installer. Anybody know of
any other similar scripts hidden away somewhere?

I realize that reproducing all CMS functions with a CLI would be very
difficult. My interest is in creating a limited set of CLI functions that
would allow remote maintenance of multiple sites in an automated fashion.

I wonder if Jentla works with a custom-built CLI interface. Anyone at
liberty to discuss in broad strokes how it works?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »