Re: [fw-general] Best Approach for complex site code structure

2008-12-05 Thread Thorsten Ruf
take a look at the following page:
http://webfractor.wordpress.com/2008/08/14/using-zend-framework-from-the-command-line/


On Thu, Dec 4, 2008 at 15:55, keith Pope [EMAIL PROTECTED] wrote:

 If you need to use cron from cmd line, I would suggest looking at the
 request object, you can easily make your own that will translate cmd
 options to request vars that the MVC components can use.


 2008/12/4 Rob Riggen [EMAIL PROTECTED]:
  I'm doing these things on some sites (except maybe the command line
 calls).
  The standard Zend Recommended structure works just fine for all of it.
 
  I created an MVC controller for the Rest service, as well as one for
  XML-RPC.  I also have a controller specifically for cron jobs that cron
  tasks can call using curl or lynx or something like that.
 
  I hope this helps,
 
  Rob
 
  On Thu, Dec 4, 2008 at 2:32 AM, SteveWilhelm [EMAIL PROTECTED]
  wrote:
 
  I am looking for suggestions on how to structure my Zend code for
  implementing a site that contains the following features:
 
  1. MVC-based code for the public website
  2. A REST-based server to provide programmatic access to application
 data
  3. Admin utility functions that are run by cron jobs and on demand on a
  command line
  4. Utility classes that are shared by all three of the above.
 
  Is there a good example or tutorial that demonstrates how to structure
  code
  for this type of site?
 
  Thanks in advance for your help.
 
  - Steve W.
  --
  View this message in context:
 
 http://www.nabble.com/Best-Approach-for-complex-site-code-structure-tp20828590p20828590.html
  Sent from the Zend Framework mailing list archive at Nabble.com.
 
 
 
  Rob Riggen [EMAIL PROTECTED]



 --
 --
 [MuTe]
 --



Re: [fw-general] Best Approach for complex site code structure

2008-12-04 Thread Rob Riggen
I'm doing these things on some sites (except maybe the command line calls).
The standard Zend Recommended structure works just fine for all of it.

I created an MVC controller for the Rest service, as well as one for
XML-RPC.  I also have a controller specifically for cron jobs that cron
tasks can call using curl or lynx or something like that.

I hope this helps,

Rob

On Thu, Dec 4, 2008 at 2:32 AM, SteveWilhelm [EMAIL PROTECTED]wrote:


 I am looking for suggestions on how to structure my Zend code for
 implementing a site that contains the following features:

 1. MVC-based code for the public website
 2. A REST-based server to provide programmatic access to application data
 3. Admin utility functions that are run by cron jobs and on demand on a
 command line
 4. Utility classes that are shared by all three of the above.

 Is there a good example or tutorial that demonstrates how to structure code
 for this type of site?

 Thanks in advance for your help.

 - Steve W.
 --
 View this message in context:
 http://www.nabble.com/Best-Approach-for-complex-site-code-structure-tp20828590p20828590.html
 Sent from the Zend Framework mailing list archive at Nabble.com.



Rob Riggen [EMAIL PROTECTED]


Re: [fw-general] Best Approach for complex site code structure

2008-12-04 Thread keith Pope
If you need to use cron from cmd line, I would suggest looking at the
request object, you can easily make your own that will translate cmd
options to request vars that the MVC components can use.


2008/12/4 Rob Riggen [EMAIL PROTECTED]:
 I'm doing these things on some sites (except maybe the command line calls).
 The standard Zend Recommended structure works just fine for all of it.

 I created an MVC controller for the Rest service, as well as one for
 XML-RPC.  I also have a controller specifically for cron jobs that cron
 tasks can call using curl or lynx or something like that.

 I hope this helps,

 Rob

 On Thu, Dec 4, 2008 at 2:32 AM, SteveWilhelm [EMAIL PROTECTED]
 wrote:

 I am looking for suggestions on how to structure my Zend code for
 implementing a site that contains the following features:

 1. MVC-based code for the public website
 2. A REST-based server to provide programmatic access to application data
 3. Admin utility functions that are run by cron jobs and on demand on a
 command line
 4. Utility classes that are shared by all three of the above.

 Is there a good example or tutorial that demonstrates how to structure
 code
 for this type of site?

 Thanks in advance for your help.

 - Steve W.
 --
 View this message in context:
 http://www.nabble.com/Best-Approach-for-complex-site-code-structure-tp20828590p20828590.html
 Sent from the Zend Framework mailing list archive at Nabble.com.



 Rob Riggen [EMAIL PROTECTED]



-- 
--
[MuTe]
--


[fw-general] Best Approach for complex site code structure

2008-12-03 Thread SteveWilhelm

I am looking for suggestions on how to structure my Zend code for
implementing a site that contains the following features:

1. MVC-based code for the public website
2. A REST-based server to provide programmatic access to application data
3. Admin utility functions that are run by cron jobs and on demand on a
command line
4. Utility classes that are shared by all three of the above.

Is there a good example or tutorial that demonstrates how to structure code
for this type of site?

Thanks in advance for your help.

- Steve W.
-- 
View this message in context: 
http://www.nabble.com/Best-Approach-for-complex-site-code-structure-tp20828590p20828590.html
Sent from the Zend Framework mailing list archive at Nabble.com.