Re: [fw-general] Application Resources Access

2009-10-07 Thread Саша Стаменковић
Yes, you're right, but the only bad thing is writing:
Zend_Controller_Front::getInstance()-getParam('bootstrap')-getResource('cache');
v.s.
Zend_Registry::get('cache');

and maybe using Zend_Registry is faster?

Regards,
Saša Stamenković


On Tue, Oct 6, 2009 at 5:21 PM, Hector Virgen djvir...@gmail.com wrote:

 It probably wouldn't hurt to check in both places. I think you're right and
 checking for a bootstrap resource might be better (or clearer to another
 developer) than checking Zend_Registry.
 The question that comes to mind when running into this code later is Where
 does the cache get initialized?. Zend_Registry gives us no clues as to
 where or when that cache was registered, but the bootstrap resource clues us
 in to the bootstrap.

 --
 Hector



 On Mon, Oct 5, 2009 at 10:59 PM, Саша Стаменковић umpir...@gmail.comwrote:

 Thx Hector.
 Nice answer and useful code example.
 Is there a reason to use registry over bootstrap init and get resource?

 Is it better to do

   if (Zend_Registry::has('cache')) {
 $this-setCache(Zend_Registry::get('cache'));
  }

 or

  if ($cache = $this-setCache(Zend_Registry::get('cache'))) {
 //
  }

 Regards,
 Saša Stamenković



 On Mon, Oct 5, 2009 at 8:06 PM, Hector Virgen djvir...@gmail.com wrote:

 If it's system-wide, I usually place it in the registry for easy access.
 But then I also use a lazy-loading technique in the model layer that pulls
 the cache from the registry if it wasn't set:
 public function setCache(Zend_Cache_Core $cache)
 {
 $this-_cache = $cache;
 return $this;
 }

 public function getCache()
 {
 if (null === $this-_cache) {
 if (Zend_Registry::has('cache')) {
 $this-setCache(Zend_Registry::get('cache'));
 }
 }
 return $this-_cache;
 }

 --
 Hector



 On Mon, Oct 5, 2009 at 1:03 AM, umpirsky umpir...@gmail.com wrote:


 Hi.

 I need several Zend_Cache objects for my app (file, memcached...), and I
 don't want to instantiate and initialize it all over my app. So, there
 are 2
 options:

 - Init Zend_Cache in bootstrap and then get it all over app (in models
 for
 ex) with:
 $this-getFrontController()-getParam('bootstrap')-getResource('cache');
 -
 if I can do this in models at all? How do I access bootstrap resources
 from
 outside controllers?
 - Init Zend_Cache in bootstrap but store it in Zend_Registry then get it
 with Zend_Registry::get('cache');

 What is better/faster approach and why?
 --
 View this message in context:
 http://www.nabble.com/Application-Resources-Access-tp25746631p25746631.html
 Sent from the Zend Framework mailing list archive at Nabble.com.







Re: [fw-general] descending sorting using object of Zen_Db_Select()

2009-10-07 Thread alayn
http://framework.zend.com/manual/en/zend.db.select.html#zend.db.select.building.order

In Zend_Db_Select, you can use the order() method to specify a column
or an array of columns by which to sort. Each element of the array is a
string naming a column. Optionally with the ASC DESC keyword following
it, separated by a space.

So just concat a DESC after the $order column:

public function sortGadget($order)
{
  
$db = Zend_Db_Table::getDefaultAdapter();
$selgadget = new Zend_Db_Select($db);
$selgadget-from('gadget')
  -order($order . ' DESC');
 

return $selgadget; 
}

El mar, 06-10-2009 a las 21:06 -0700, attractive eyes escribió:
 hi all,
  I am using the function given below to sort data and the direction
 of sorting is ascending. now I want to sort data in descending order, but I
 am not getting idea about it and it is mandatory for me to use the object of
 Zend_Db_Select() for sorting. please help me for sorting in desecding.
 
 
  public function sortGadget($order)
 {
   
 $db = Zend_Db_Table::getDefaultAdapter();
 $selgadget = new Zend_Db_Select($db);
 $selgadget-from('gadget')
   -order($order);
  
 
 return $selgadget; 
 }
 
 Regards
 Rizwan



[fw-general] zend form label column width

2009-10-07 Thread Ralikwen

Hi,
I can't find the way to set the columnwidht for the label when created like
this:

elementDecorators.label.decorator = Label
elementDecorators.label.decorator.tag = td

I tried the following line, but it puts the attribute into the label tag
instead of the td tag:
elementDecorators.label.decorator.options.width= 200


Thanks for the help.
SWK
-- 
View this message in context: 
http://www.nabble.com/zend-form-label-column-width-tp25783506p25783506.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] descending sorting using object of Zen_Db_Select()

2009-10-07 Thread attractive eyes

hi alayn,
great thanks for your help 

attractive eyes wrote:
 
 hi all,
  I am using the function given below to sort data and the
 direction of sorting is ascending. now I want to sort data in descending
 order, but I am not getting idea about it and it is mandatory for me to
 use the object of Zend_Db_Select() for sorting. please help me for
 sorting in desecding.
 
 
  public function sortGadget($order)
 {
   
 $db = Zend_Db_Table::getDefaultAdapter();
 $selgadget = new Zend_Db_Select($db);
 $selgadget-from('gadget')
   -order($order);
  
 
 return $selgadget; 
 }
 
 Regards
 Rizwan
 

-- 
View this message in context: 
http://www.nabble.com/descending-sorting-using-object-of-%22Zen_Db_Select%28%29%22-tp25780205p25783956.html
Sent from the Zend Framework mailing list archive at Nabble.com.



[fw-general] Re: [zf-contributors] Re: [fw-general] Simple Cloud API Proposals

2009-10-07 Thread Matthew Ratzloff
Hi Wil,
I think any queue class should follow the conventions set forth by
Zend_Queue (by extending or implementing the appropriate adapter class).
 This looks like a major oversight in Zend_Cloud_Queue's API.

-Matt

On Tue, Oct 6, 2009 at 7:44 AM, Matthew Weier O'Phinney matt...@zend.comwrote:

 -- Wil Sinclair w...@zend.com wrote
 (on Monday, 05 October 2009, 12:53 PM -0700):
  On Sept. 22, Zend launched the Simple Cloud API project: http://
  www.simplecloud.org
 
  This ambitious project makes cloud application services from vendors such
 as
  Amazon, Microsoft Azure, and Rackspace available through one API,
 bringing the
  platform portability that you expect from PHP to the cloud.
 
  I’m happy to announce that the proposals for Zend_Cloud_Storage,
  Zend_Cloud_Queue, and Zend_Cloud_Document are now ready for review.
 
  Please take a look at the proposals and leave any feedback you have.

 And for those who like to click links, you'll find them here:

  * Zend_Cloud_Document:

 http://framework.zend.com/wiki/display/ZFPROP/Zend_Cloud_Document+-+Wil+Sinclair

  * Zend_Cloud_Storage:

 http://framework.zend.com/wiki/display/ZFPROP/Zend_Cloud_Storage+-+Wil+Sinclair

  * Zend_Cloud_Queue:

 http://framework.zend.com/wiki/display/ZFPROP/Zend_Cloud_Queue+-+Wil+Sinclair

 --
 Matthew Weier O'Phinney
 Project Lead| matt...@zend.com
 Zend Framework  | http://framework.zend.com/



Re: [fw-general] Problem with Form Select and InArray Validator

2009-10-07 Thread Ralikwen

Hi,
I can see that I can disable it, but how can you change only the error
message of the autoregistered inArray validator in the config file?

Thx.
SWK


Matthew Weier O'Phinney-3 wrote:
 
 -- Arthur M. Kang art...@levelogic.com wrote
 (on Thursday, 04 September 2008, 09:37 AM -0700):
 After upgrading to ZF 1.6, some of my Form-Select elements started
 having
 validation errors of 'value was not found in the haystack'.
 
 Firstly, I have not added any validators to these elements, so I don't
 know if
 it is a new feature of the framework to automatically add the InArray
 validator
 to certain elements.
 
 Yes, this is a new feature -- auto-registration of an InArray validator
 that uses the keys of the multiOptions registered with the element.
 
 You can disable this with one of the following:
 
// using the element instance:
$element-setRegisterInArrayValidator(false);
 
// or a configuration key:
'registerInArrayValidator' = false
element.options.registerInArrayValidator = false
 
 Secondly, and more importantly, the select element is using a
 multi-dimensional
 which automatically creates OPTGROUP tags as headers within the
 selection.  It
 looks like InArray is only checking against the first level of the array
 and
 does not check recursively.  Since these OPTGROUP values are not
 selectable,
 the element will always fail validation.
 
 Right. This is a much more difficult validation to achieve, and we can
 hopefully address it for a coming release. In the meantime, simply don't
 register the validator, using the instructions above.
 
 -- 
 Matthew Weier O'Phinney
 Software Architect   | matt...@zend.com
 Zend Framework   | http://framework.zend.com/
 
 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-Form-Select-and-InArray-Validator-tp19314666p25788463.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] Re: [zf-contributors] Re: [fw-general] Simple Cloud API Proposals

2009-10-07 Thread Matthew Weier O'Phinney
-- Matthew Ratzloff m...@builtfromsource.com wrote
(on Wednesday, 07 October 2009, 07:55 AM -0700):
 I think any queue class should follow the conventions set forth by Zend_Queue
 (by extending or implementing the appropriate adapter class).  This looks like
 a major oversight in Zend_Cloud_Queue's API.

Not necessarily. Cloud queues tend to be more simplified and offer
slightly fewer features than local queue systems. Trying to map the
conventions of Zend_Queue -- which offers support for a broader variety
of queue systems and hence features -- may not make sense.


 On Tue, Oct 6, 2009 at 7:44 AM, Matthew Weier O'Phinney matt...@zend.com
 wrote:
 
 -- Wil Sinclair w...@zend.com wrote
 (on Monday, 05 October 2009, 12:53 PM -0700):
  On Sept. 22, Zend launched the Simple Cloud API project: http://
  www.simplecloud.org
 
  This ambitious project makes cloud application services from vendors 
 such
 as
  Amazon, Microsoft Azure, and Rackspace available through one API,
 bringing the
  platform portability that you expect from PHP to the cloud.
 
  I’m happy to announce that the proposals for Zend_Cloud_Storage,
  Zend_Cloud_Queue, and Zend_Cloud_Document are now ready for review.
 
  Please take a look at the proposals and leave any feedback you have.
 
 And for those who like to click links, you'll find them here:
 
  * Zend_Cloud_Document:
   http://framework.zend.com/wiki/display/ZFPROP/
 Zend_Cloud_Document+-+Wil+Sinclair
 
  * Zend_Cloud_Storage:
   http://framework.zend.com/wiki/display/ZFPROP/
 Zend_Cloud_Storage+-+Wil+Sinclair
 
  * Zend_Cloud_Queue:
   http://framework.zend.com/wiki/display/ZFPROP/
 Zend_Cloud_Queue+-+Wil+Sinclair
 
 --
 Matthew Weier O'Phinney
 Project Lead            | matt...@zend.com
 Zend Framework          | http://framework.zend.com/
 
 

-- 
Matthew Weier O'Phinney
Project Lead| matt...@zend.com
Zend Framework  | http://framework.zend.com/


[fw-general] Re: WELCOME to fw-general-dig...@lists.zend.com

2009-10-07 Thread vikram . melonfire
Hello

I have a form with 3 file fields, set using multiFile(). Once the form
is submitted:

- how do I find out how many files were actually uploaded (could be
between 0 and 3)?
- how do I iterate over the uploaded files array?

I basically need to rename the files as ID_1.ext, ID_2.ext etc. The ID
is the database auto-increment ID. I know how to use the rename filter
bu am stuck at how to apply it in a multi-file context.

TIA,

Vikram

On Tue, Oct 6, 2009 at 10:33 PM,  fw-general-digest-h...@lists.zend.com wrote:
 Hi! This is the ezmlm program. I'm managing the
 fw-general-dig...@lists.zend.com mailing list.

 I'm working for my owner, who can be reached
 at fw-general-digest-ow...@lists.zend.com.

 Acknowledgment: I have added the address

   vikram.melonf...@googlemail.com

 to the fw-general-digest mailing list.

 Welcome to fw-general-dig...@lists.zend.com!

 Please save this message so that you know the address you are
 subscribed under, in case you later want to unsubscribe or change your
 subscription address.

 To unsubscribe, send a message to:

    
 fw-general-digest-unsubscribe-vikram.melonfire=googlemail@lists.zend.com


 --- Administrative commands for the fw-general-digest list ---

 I can handle administrative requests automatically. Please
 do not send them to the list address! Instead, send
 your message to the correct command address:

 For help and a description of available commands, send a message to:
   fw-general-h...@lists.zend.com

 To subscribe to the list, send a message to:
   fw-general-subscr...@lists.zend.com

 To remove your address from the list, just send a message to
 the address in the ``List-Unsubscribe'' header of any list
 message. If you haven't changed addresses since subscribing,
 you can also send a message to:
   fw-general-unsubscr...@lists.zend.com

 or for the digest to:
   fw-general-digest-unsubscr...@lists.zend.com

 For addition or removal of addresses, I'll send a confirmation
 message to that address. When you receive it, simply reply to it
 to complete the transaction.

 If you need to get in touch with the human owner of this list,
 please send a message to:

    fw-general-ow...@lists.zend.com

 Please include a FORWARDED list message with ALL HEADERS intact
 to make it easier to help you.

 --- Enclosed is a copy of the request I received.

 Return-Path: vikram.melonf...@googlemail.com
 Received: (qmail 4506 invoked from network); 6 Oct 2009 17:03:46 -
 Received: from exprod7mx169.postini.com (HELO psmtp.com) (64.18.2.127)
  by lists.zend.com with SMTP; 6 Oct 2009 17:03:46 -
 Received: from source ([209.85.222.171]) by exprod7mx169.postini.com 
 ([64.18.6.14]) with SMTP;
        Tue, 06 Oct 2009 13:03:46 EDT
 Received: by pzk1 with SMTP id 1so4049889pzk.27
        for 
 fw-general-digest-sc.1254848595.bcfhnflkbmbnbodobckm-vikram.melonfire=googlemail@lists.zend.com;
  Tue, 06 Oct 2009 10:03:45 -0700 (PDT)
 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=gamma;
        h=domainkey-signature:mime-version:received:reply-to:in-reply-to
         :references:date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=OAufhh1jrs24NPAK8yRAtnPS8p10mVJ3vWhbJadIMPo=;
        b=RTmFli0eFS8LQGVytRRqexr+U+5W7IbkgOlVI/6HkVkRIKfpA6Iut7mYmen+aOYQ/4
         OqZZpblECCSeAsFCxe84yYj2JywQuooEfgYrGPQTearXQeoMkxvopjcRz0oBe5oOTiQM
         bPnRHOPZ68A21YGFWKJEpw38T0BdEIJQhcO7k=
 DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=googlemail.com; s=gamma;
        h=mime-version:reply-to:in-reply-to:references:date:message-id
         :subject:from:to:content-type:content-transfer-encoding;
        b=w050OkxA8RW/+COaoPLMcqqoGMLPC4V92sHh/JAnh5KNqqtA00cCanmNHr1ATAE89u
         gQcpnBBDs160jpJPn4ih/aFPFk33xG0N+KAu4EvrgpF79gtq4i7T4FgVUA/OzzTwd1VE
         H5eQryXno25FdwuNyMmYKPozxMzwjMToMKObg=
 MIME-Version: 1.0
 Received: by 10.115.114.7 with SMTP id r7mr1634358wam.72.1254848625191; Tue,
        06 Oct 2009 10:03:45 -0700 (PDT)
 Reply-To: vikram.melonf...@gmail.com
 In-Reply-To: 1254848595.4331.ez...@lists.zend.com
 References: 1254848595.4331.ez...@lists.zend.com
 Date: Tue, 6 Oct 2009 22:33:45 +0530
 Message-ID: 7311fa20910061003t794afcfcw8a2d9c7980fff...@mail.gmail.com
 Subject: Re: confirm subscribe to fw-general-dig...@lists.zend.com
 From: vikram.melonf...@googlemail.com
 To: 
 fw-general-digest-sc.1254848595.bcfhnflkbmbnbodobckm-vikram.melonfire=googlemail@lists.zend.com
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 X-pstn-neptune: 0/0/0.00/0
 X-pstn-levels:     (S:54.59383/99.9 CV:99.9000 FC:95.5390 LC:95.5390 
 R:95.9108 P:95.9108 M:97.0282 C:98.6951 )




[fw-general] Zend_Translate addTranslation

2009-10-07 Thread ignace

Hi,

I have a problem: Zend_Translate loads by default the browser's default
language (in my case nl) Then through a navigation I can alter the language
in which I want to see the website but it doesn't change it a closer look
showed that Zend_Translate indeed retrieves the translation source as it
outputs at some point:

'en' = array
'About us' = 'About us'

'nl' = array
'About us' = 'Over ons'

But changes it later on to:

'en' = array
'About us' = 'Over ons'

'nl' = array
'About us' = 'Over ons'

This process occurs in Zend_Translate_Adapter at lines 499 - 501 in version
1.10.0dev The lines in question are:

if (array_key_exists($key, $temp)  is_array($temp[$key])) {
$this-_translate[$key] = $temp[$key] +
$this-_translate[$key];
}
-- 
View this message in context: 
http://www.nabble.com/Zend_Translate---addTranslation-tp25791169p25791169.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] zend form label column width

2009-10-07 Thread Hector Virgen
You would be better off using CSS for this. Add a class name of label to
your td and include this style rule:
form td.label{
width: 200px;
}

--
Hector


On Wed, Oct 7, 2009 at 2:40 AM, Ralikwen balazs.kl...@gmail.com wrote:


 Hi,
 I can't find the way to set the columnwidht for the label when created like
 this:

 elementDecorators.label.decorator = Label
 elementDecorators.label.decorator.tag = td

 I tried the following line, but it puts the attribute into the label tag
 instead of the td tag:
 elementDecorators.label.decorator.options.width= 200


 Thanks for the help.
 SWK
 --
 View this message in context:
 http://www.nabble.com/zend-form-label-column-width-tp25783506p25783506.html
 Sent from the Zend Framework mailing list archive at Nabble.com.




Re: [fw-general] Zend_Translate addTranslation

2009-10-07 Thread Thomas Weidner
You should give some reproducable code from your side instead of code from 
ZF.
Looking at your result you should ask yourself what you are doing that the 
nl files are read as en.
Because Zend_Translate has no way to detect for which language the content 
of a file is when the directory or filename does not reflect this.


Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

- Original Message - 
From: ignace developer.ign...@gmail.com

To: fw-general@lists.zend.com
Sent: Wednesday, October 07, 2009 7:42 PM
Subject: [fw-general] Zend_Translate  addTranslation




Hi,

I have a problem: Zend_Translate loads by default the browser's default
language (in my case nl) Then through a navigation I can alter the 
language

in which I want to see the website but it doesn't change it a closer look
showed that Zend_Translate indeed retrieves the translation source as it
outputs at some point:

'en' = array
   'About us' = 'About us'

'nl' = array
   'About us' = 'Over ons'

But changes it later on to:

'en' = array
   'About us' = 'Over ons'

'nl' = array
   'About us' = 'Over ons'

This process occurs in Zend_Translate_Adapter at lines 499 - 501 in 
version

1.10.0dev The lines in question are:

if (array_key_exists($key, $temp)  is_array($temp[$key])) {
   $this-_translate[$key] = $temp[$key] +
$this-_translate[$key];
   }
--
View this message in context: 
http://www.nabble.com/Zend_Translate---addTranslation-tp25791169p25791169.html
Sent from the Zend Framework mailing list archive at Nabble.com. 




[fw-general] zendx stop inside of child process

2009-10-07 Thread Tim Rupp
Hi all, I'm extending the Console_Process_Unix class per the example
in the documentation and wanted to call the stop() method inside of
the _run() method. I was hoping this would trickle up to the code
where I actually instantiate the class and call $process-start(), but
it doesn't look like it does.

How do you signal to looping code that the child process is done doing
it's thing?

ex.

some script.php

$process = new App_Process_MyProc();
$process-start();


and this class in another file that I've included

class App_Process_MyProc extends ZendX_Console_Process_Unix {
protected function _run() {
   // run some code here
   $this-stop();
}
}


Based on the output of print_r($process) from the script and
print_r($this) from inside of App_Process_MyProc, _isRunning stays 1
even after I call $this-stop() inside of the child. The child reports
that isRunning is set to empty though.

So how do you communicate that the child is done? returning from
_run() doesn't appear to do it, exiting from _run() doesnt either.
Should I use setVariable and getVariable to use a value that I check
for? I think I'm just missing something really obvious here.

Using ZF 1.9.3PL1

Thanks in advance,
Tim


Re: [fw-general] Zend_Translate addTranslation

2009-10-07 Thread ignace

Ok the code i used is:

if ($this-_hasParam('language')) {
$language = $this-_getParam('language');
if ($bootstrap = $this-getInvokeArg('bootstrap')) {
$translateResource = 
$bootstrap-getPluginResource('Translate');
$translate = $translateResource-getTranslate();
if (!$translate-isAvailable($language)) {
$options = 
$translateResource-getOptions();
try {

$translate-setOptions(array('reload' = true));

$translate-addTranslation($options['data'], $language);
} catch (Zend_Translate_Exception $e) {}
}
// is it now available?
if ($translate-isAvailable($language)) {
$translate-setLocale($language);
}
}
}

Also is it possible for Zend_Translate to read all translation sources in
the directory instead of one?


thomasW wrote:
 
 You should give some reproducable code from your side instead of code from 
 ZF.
 Looking at your result you should ask yourself what you are doing that the 
 nl files are read as en.
 Because Zend_Translate has no way to detect for which language the content 
 of a file is when the directory or filename does not reflect this.
 
 Greetings
 Thomas Weidner, I18N Team Leader, Zend Framework
 http://www.thomasweidner.com
 
 - Original Message - 
 From: ignace developer.ign...@gmail.com
 To: fw-general@lists.zend.com
 Sent: Wednesday, October 07, 2009 7:42 PM
 Subject: [fw-general] Zend_Translate  addTranslation
 
 

 Hi,

 I have a problem: Zend_Translate loads by default the browser's default
 language (in my case nl) Then through a navigation I can alter the 
 language
 in which I want to see the website but it doesn't change it a closer look
 showed that Zend_Translate indeed retrieves the translation source as it
 outputs at some point:

 'en' = array
'About us' = 'About us'

 'nl' = array
'About us' = 'Over ons'

 But changes it later on to:

 'en' = array
'About us' = 'Over ons'

 'nl' = array
'About us' = 'Over ons'

 This process occurs in Zend_Translate_Adapter at lines 499 - 501 in 
 version
 1.10.0dev The lines in question are:

 if (array_key_exists($key, $temp)  is_array($temp[$key])) {
$this-_translate[$key] = $temp[$key] +
 $this-_translate[$key];
}
 -- 
 View this message in context: 
 http://www.nabble.com/Zend_Translate---addTranslation-tp25791169p25791169.html
 Sent from the Zend Framework mailing list archive at Nabble.com. 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Zend_Translate---addTranslation-tp25791169p25793989.html
Sent from the Zend Framework mailing list archive at Nabble.com.



RE: [fw-general] Simple Cloud API Proposals

2009-10-07 Thread Wil Sinclair
Nope. Just haven't implemented them yet.

 

The story on the site is that Forrest Lyman (of Digitalus fame) and I
designed it from scratch to use the Simple Cloud API. Unfortunately- or
rather fortunately- the announcement got *way* more attention from the
press than we expected, which took up more of my time than I had
budgeted for this.

 

So, to make a long story short, we'll be updating the site in the coming
weeks to add all the features we wanted to have at launch. Including
page titles. ;)

 

,Wil

 

From: Alan Wagstaff [mailto:awagst...@gmail.com] 
Sent: Tuesday, October 06, 2009 8:31 AM
To: Daniel Latter
Cc: Matthew O'Phinney; fw-general@lists.zend.com;
zf-contribut...@lists.zend.com
Subject: Re: [fw-general] Simple Cloud API Proposals

 

All showing up fine here.

 

Also, not related to the proposals so apologies for going off-topic, but
none of the www.simplecloud.org pages have titles - didn't know if it
was a bug or some odd design choice :)

 

 

2009/10/6 Daniel Latter dan.lat...@gmail.com

Your email client stripped them cos they were links anyway



On 6 Oct 2009, at 15:44, Matthew Weier O'Phinney matt...@zend.com
wrote:

-- Wil Sinclair w...@zend.com wrote
(on Monday, 05 October 2009, 12:53 PM -0700):

On Sept. 22, Zend launched the Simple Cloud API project: http://
www.simplecloud.org

This ambitious project makes cloud application services from vendors
such as
Amazon, Microsoft Azure, and Rackspace available through one API,
bringing the
platform portability that you expect from PHP to the cloud.

I'm happy to announce that the proposals for Zend_Cloud_Storage,
Zend_Cloud_Queue, and Zend_Cloud_Document are now ready for review.

Please take a look at the proposals and leave any feedback you have.


And for those who like to click links, you'll find them here:

* Zend_Cloud_Document:
 
http://framework.zend.com/wiki/display/ZFPROP/Zend_Cloud_Document+-+Wil+
Sinclair

* Zend_Cloud_Storage:
 
http://framework.zend.com/wiki/display/ZFPROP/Zend_Cloud_Storage+-+Wil+S
inclair

* Zend_Cloud_Queue:
 
http://framework.zend.com/wiki/display/ZFPROP/Zend_Cloud_Queue+-+Wil+Sin
clair

-- 
Matthew Weier O'Phinney
Project Lead| matt...@zend.com
Zend Framework  | http://framework.zend.com/

 



RE: [fw-general] Simple Cloud API Proposals

2009-10-07 Thread Wil Sinclair
I actually contacted Salesforce about the project before launch. I
haven't heard back from them yet, but they are interested in how Zend
Framework could be used on their platform.

 

Maybe you can tell me if they have services for which Simple Cloud API
adapters are appropriate. Keep in mind that adapters can be written for
almost any kind of service; it doesn't have to be a RESTful, SOAP,
XML-RPC, etc. service. In fact, all of the adapters currently are
written to what appear to be local services, like the client lib for S3.

 

I've thought about how appropriate a document service adapter would be
for Google's GQL database, for example. Of course, that will be some to
consider for the Simple Cloud API after they finally get around to
supporting PHP. ;)

 

,Wil

 

 

From: Daniel Latter [mailto:dan.lat...@gmail.com] 
Sent: Tuesday, October 06, 2009 9:49 AM
To: Wil Sinclair
Cc: fw-general@lists.zend.com; zf-contribut...@lists.zend.com
Subject: Re: [fw-general] Simple Cloud API Proposals

 

Hi,

Will Simple Cloud do anything with Salesforce? 

At the moment I am working with Salesforce and would like to help/get
involved by providing a Salesforce adapter in the near future, would
this be something of use? or is it not really applicable?

Thanks







2009/10/5 Wil Sinclair w...@zend.com

Hi all,

 

On Sept. 22, Zend launched the Simple Cloud API project:
http://www.simplecloud.org

 

This ambitious project makes cloud application services from vendors
such as Amazon, Microsoft Azure, and Rackspace available through one
API, bringing the platform portability that you expect from PHP to the
cloud.

 

I'm happy to announce that the proposals for Zend_Cloud_Storage
http://framework.zend.com/wiki/display/ZFPROP/Zend_Cloud_Storage+-+Wil+
Sinclair , Zend_Cloud_Queue
http://framework.zend.com/wiki/display/ZFPROP/Zend_Cloud_Queue+-+Wil+Si
nclair , and Zend_Cloud_Document
http://framework.zend.com/wiki/display/ZFPROP/Zend_Cloud_Document+-+Wil
+Sinclair  are now ready for review.

 

Please take a look at the proposals and leave any feedback you have.

 

Thanks!

,Wil

 



[fw-general] Zend_Acl roles and permission on action

2009-10-07 Thread tomascejka

I read about Acl and I think about roles and permisson and I want to ask if
there is necessary make implementation on database layer. I mean persisting
permissions with relations to roles strutured in tree structure.

As I have read about Acl there is a possibility that it is not necessary to
make another layer above Acl princip implemented in Zend_Acl.

Can me advise if there is right to have roles and permission in db or it is
needless.

Thanks

-
Enviroment
==

OS:
SUSE Linux Enterprice 10 (i586) - version 2.6.16.60-0.27-smp
Windows XP

Tomcat v6.0.16
Java(TM) SE Runtime Enviroment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)
Maven v2.0.9
Apache 2.2.11
MySQL 5.1.30
PHP 5.2.10
qooxdoo-0.8.2
Python 2.5
Zend framework 1.9.2
Dojo 1.3.2

Hudson:
===
version 1.304
plugins: Maven 1.304, SSH Slaves
running: deployed in Tomcat

front-end developer web-based application
A.S.E.I. [http://www.asei.cz]
-- 
View this message in context: 
http://www.nabble.com/Zend_Acl-roles-and-permission-on-action-tp25795880p25795880.html
Sent from the Zend Framework mailing list archive at Nabble.com.