Re: [fw-general] DataGrid

2009-09-23 Thread Cameron
On Thu, Sep 24, 2009 at 8:38 AM, Cameron  wrote:

>
>
> On Wed, Sep 23, 2009 at 6:49 PM, Matthew Weier O'Phinney  > wrote:
>
>> -- Cameron  wrote
>> (on Wednesday, 23 September 2009, 09:42 AM +0800):
>> > Dojo grids. I've actually just moved a lot of my functionality over to
>> Dojo
>> > JsonRestStore so I can do in-grid editing, it's not completed yet, but
>> so far
>> > it is coming together really smoothly.
>>
>> I'm planning on doing a blog post on this combination (Zend_Rest_Route +
>> dojox.data.JsonRestStore + dojox.grid.DataGrid) -- the three work
>> together incredibly well, and make CRUD interfaces a breeze.
>>
>
> So far I'm finding the same, it's a match made in heaven, except for some
> reason the grid doesn't seem to be triggering on edits. I can't see any ajax
> hits in firebug. Anyway, I'm sure it's my fault, I'll work it out!
>

Ok, so I'm dumb, you need to manually call store.save().

Matthew, one thing that your post should cover over is the handling of error
conditions - I'm struggling to find any examples of neatly dealing with what
happens if your controller decides it's not happy with the data and has to
let the store know so it can deal with the situation appropriately.



>
>
>>
>> > On Tue, Sep 22, 2009 at 9:10 PM, Kyle Spraggs 
>> wrote:
>> >
>> > I was curious what everyone is using for DataGrids. I am aware of
>> http://
>> > petala-azul.com/blog/ as well as http://code.google.com/p/
>> > zend-framework-datagrid/ and there is also the possibility of Dojo
>> Grids.
>> > Any input would be appreciated.
>>
>> --
>> Matthew Weier O'Phinney
>> Project Lead| matt...@zend.com
>> Zend Framework  | http://framework.zend.com/
>>
>
>


[fw-general] Problem with autoloading and unit testing Zend_Application

2009-09-23 Thread Aycko

Hello together,

i set up a basic environment for unit testing my Zend_Application.

A basic test looks something like this:

public function testDefaultControllerAndAction() {
$this->dispatch('/');
$this->assertController('index');
$this->assertAction('index');
}

Calling phpunit in command line causes some php fatal errors. All classes
which are loaded with Zend_Application_Module_Autoloader in module bootrap
could not be found.

Are there any solution without setting up all requires manually?


Best regards
Aycko
-- 
View this message in context: 
http://www.nabble.com/Problem-with-autoloading-and-unit-testing-Zend_Application-tp25534200p25534200.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] I don't have dbAdapter so how can I create authentication ?

2009-09-23 Thread Ralph Schindler
If you are using Zend_Application to set up your application, you can 
get the adapter from the Zend_Db_Table default adapter (if you have that 
setting):


$dbAdapter = Zend_Db_Table::getDefaultAdapter();

Or, you can get it from the Zend_Application resource container:

$container = $this->getInvokeArg('bootstrap')->getContainer();
$dbAdapter = $container->db->getDbAdapter();

-ralph


aaabbbcccdaabb wrote:

To connect to table Animals I write:
$model = new Model_DbTable_Animals();

In documentation:
http://framework.zend.com/manual/en/zend.auth.html
I have:
$authAdapter = new Zend_Auth_Adapter_DbTable(
$dbAdapter,
'users',
'username',
'password'
);


But I don't have dbAdapter so what I should do ?



Re: [fw-general] DataGrid

2009-09-23 Thread Cameron
On Wed, Sep 23, 2009 at 6:49 PM, Matthew Weier O'Phinney
wrote:

> -- Cameron  wrote
> (on Wednesday, 23 September 2009, 09:42 AM +0800):
> > Dojo grids. I've actually just moved a lot of my functionality over to
> Dojo
> > JsonRestStore so I can do in-grid editing, it's not completed yet, but so
> far
> > it is coming together really smoothly.
>
> I'm planning on doing a blog post on this combination (Zend_Rest_Route +
> dojox.data.JsonRestStore + dojox.grid.DataGrid) -- the three work
> together incredibly well, and make CRUD interfaces a breeze.
>

So far I'm finding the same, it's a match made in heaven, except for some
reason the grid doesn't seem to be triggering on edits. I can't see any ajax
hits in firebug. Anyway, I'm sure it's my fault, I'll work it out!


>
> > On Tue, Sep 22, 2009 at 9:10 PM, Kyle Spraggs 
> wrote:
> >
> > I was curious what everyone is using for DataGrids. I am aware of
> http://
> > petala-azul.com/blog/ as well as http://code.google.com/p/
> > zend-framework-datagrid/ and there is also the possibility of Dojo
> Grids.
> > Any input would be appreciated.
>
> --
> Matthew Weier O'Phinney
> Project Lead| matt...@zend.com
> Zend Framework  | http://framework.zend.com/
>


Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread Mon Zafra
Yeah, that's exactly what I'm gonna do to this aooh guy's posts. I wish Zend
can do that for everyone though, just as he claimed!

   -- Mon


On Thu, Sep 24, 2009 at 6:29 AM, Alexander Steshenko wrote:

> What stuff?Use delete button along with the filters in your gmail.
>
>
> On Thu, Sep 24, 2009 at 2:22 AM, Mon Zafra  wrote:
>
>> Sorry, I just have to. Someone can delete stuff sent in a mailing list?
>> That's hilarious!
>> Better ask the Zend people to delete this thread too. This is just
>> embarassing. At least you weren't using your name though, good call on that
>> one.
>>
>>-- Mon
>>
>>
>>
>> On Wed, Sep 23, 2009 at 11:00 PM, Matthew Ratzloff <
>> m...@builtfromsource.com> wrote:
>>
>>> Guys, please let this subject die by not replying to the thread.
>>> -Matt
>>>
>>>
>>> On Wed, Sep 23, 2009 at 1:59 AM, aoohralex  wrote:
>>>

 My critical subject about Zend Framework was deleted. Somebody from Zend
 deleted my post. My criticism PHP authors and Zend Framework in compare
 to
 other frameworks wasn't comfortable for Zend company. You can don't
 agree
 with me but delete my subject ? So again:

 I have started learn ZF because I wanted to learn something new.
 If we have range 0 – 10. My knowledge ZF is 1 – I can make basic things
 in
 ZF – connect to database, queries insert/update/delete, basic zend
 forms,
 authorization, use jquery and layout in zend, controllers, views.
 My knowledge Symfony Framework is 5. My knowledge ASP.NET MVC (not
 ASP.NET)
 is 4.

 Now I can say that ZF is very bad framework or maybe rather it isn't a
 framework. Everybody knows that authors of PHP are always late and
 behind –
 for example PHP is really OO from version v5 (eariel it was only some OO
 elements in PHP). The same is in Zend Framework – this framework is
 behind
 others frameworks.

 First - Zend_Db is nothing compared to Doctrine ORM. Using Zend_Db I
 have to
 create myself models:

 http://framework.zend.com/docs/quickstart/create-a-model-and-database-table
 ! In Symfony Framework with Doctrine ORM and in ASP.NET MVC with
 Linq to
 SQL I don't need because it is wasting of time – there it is automatic –
 in
 Symfony using console and in ASP.NET MVC using Visual Studio. Of course
 Doctrine and Linq to SQL have got more better things.

 In Zend Framework almost nothing you can do using console (of course
 almost
 nothing compared to Symfony) – in Symfony using console you can generate
 much more (I don't use in Symfony console to generate modules,
 controllers
 or forms but for begginners it is very comfortable). In ASP.NET MVC I
 don't
 need use console but Visual Studio but ASP.NET MVC is very young so
 generated controllers/views etc. don't have so good code as in Symfony.
 In
 ASP>NET MVC and Symfony Framework I don't need to enable layout like in
 Zend
 Framework. The most horrible thing in Zend it was for me Zend_Acl –
 using
 that I can't still make that only logged users can have access to action
 'add' controller 'books' – in Symfony I can make that using 2 lines of
 code
 in module 'books':

 add:
  is_secure: on

 and in ASP.NET one line of code in controller:

 [Authorize]

 What is more in Symfony and ASP.NET MVC we have tables in database and
 everything else related with users, authorization etc. created in these
 frameworks – in Zend I must myself do that.
 There is of course more good things in these frameworks – better than in
 Zend.

 Documentation – hahah – in Zend documentation is chaotic, is HORRIBLE !!
 Have you ever seen documentation of Symfony or ASP.NET MVC ? I have
 never
 seen worse documentation than in Zend.

 For me Zend isn't a framework but rather components that we can use in
 other
 frameworks – for example Zend Lucene in Symfony:
 http://www.symfony-project.org/jobeet/1_2/Doctrine/en/17

 As I thought – authors of PHP are always late and they are always behind
 so
 Zend is always late and behind. For now Symfony and ASP.NET MVC are
 from XXI
 aga, Zend is from XX age.

 This was my compare these frameworks. Sry for my English – it isn't my
 national language.

 PS. bold text = I am angry because of delete my subject by Zend company.
 --
 View this message in context:
 http://www.nabble.com/Is-there-anybody-from-Zend-team---tp25455352p25531048.html
 Sent from the Zend Framework mailing list archive at Nabble.com.


>>>
>>
>
>
> --
> Alexander Steshenko | http://lcf.name
>
>


Re: [fw-general] Module issue

2009-09-23 Thread Alexander Steshenko
Doesn't it think that 'cms' is your module part? Is everything ok with
baseurl settings?

On Thu, Sep 24, 2009 at 2:35 AM, debussy007  wrote:

>
> Hi,
>
> I have a module directory named 'preview-default'.
>
> When I try to access:
> http://localhost/cms/preview-default/index/index
> I have the appropriate view rendered by the indexAction of the
> PreviewDefault_IndexController
>
> But when I try to access
> http://localhost/cms/preview-default
> It says "Invalid controller specified (preview-default)"
>
> Can anyone help with this issue ?
>
> Thank you very much!
> --
> View this message in context:
> http://www.nabble.com/Module-issue-tp25531317p25531317.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


-- 
Alexander Steshenko | http://lcf.name


[fw-general] Module issue

2009-09-23 Thread debussy007

Hi,

I have a module directory named 'preview-default'.

When I try to access:
http://localhost/cms/preview-default/index/index
I have the appropriate view rendered by the indexAction of the
PreviewDefault_IndexController

But when I try to access
http://localhost/cms/preview-default
It says "Invalid controller specified (preview-default)"

Can anyone help with this issue ?

Thank you very much!
-- 
View this message in context: 
http://www.nabble.com/Module-issue-tp25531317p25531317.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread Alexander Steshenko
What stuff?Use delete button along with the filters in your gmail.

On Thu, Sep 24, 2009 at 2:22 AM, Mon Zafra  wrote:

> Sorry, I just have to. Someone can delete stuff sent in a mailing list?
> That's hilarious!
> Better ask the Zend people to delete this thread too. This is just
> embarassing. At least you weren't using your name though, good call on that
> one.
>
>-- Mon
>
>
>
> On Wed, Sep 23, 2009 at 11:00 PM, Matthew Ratzloff <
> m...@builtfromsource.com> wrote:
>
>> Guys, please let this subject die by not replying to the thread.
>> -Matt
>>
>>
>> On Wed, Sep 23, 2009 at 1:59 AM, aoohralex  wrote:
>>
>>>
>>> My critical subject about Zend Framework was deleted. Somebody from Zend
>>> deleted my post. My criticism PHP authors and Zend Framework in compare
>>> to
>>> other frameworks wasn't comfortable for Zend company. You can don't agree
>>> with me but delete my subject ? So again:
>>>
>>> I have started learn ZF because I wanted to learn something new.
>>> If we have range 0 – 10. My knowledge ZF is 1 – I can make basic things
>>> in
>>> ZF – connect to database, queries insert/update/delete, basic zend forms,
>>> authorization, use jquery and layout in zend, controllers, views.
>>> My knowledge Symfony Framework is 5. My knowledge ASP.NET MVC (not
>>> ASP.NET)
>>> is 4.
>>>
>>> Now I can say that ZF is very bad framework or maybe rather it isn't a
>>> framework. Everybody knows that authors of PHP are always late and behind
>>> –
>>> for example PHP is really OO from version v5 (eariel it was only some OO
>>> elements in PHP). The same is in Zend Framework – this framework is
>>> behind
>>> others frameworks.
>>>
>>> First - Zend_Db is nothing compared to Doctrine ORM. Using Zend_Db I have
>>> to
>>> create myself models:
>>>
>>> http://framework.zend.com/docs/quickstart/create-a-model-and-database-table
>>> ! In Symfony Framework with Doctrine ORM and in ASP.NET MVC with
>>> Linq to
>>> SQL I don't need because it is wasting of time – there it is automatic –
>>> in
>>> Symfony using console and in ASP.NET MVC using Visual Studio. Of course
>>> Doctrine and Linq to SQL have got more better things.
>>>
>>> In Zend Framework almost nothing you can do using console (of course
>>> almost
>>> nothing compared to Symfony) – in Symfony using console you can generate
>>> much more (I don't use in Symfony console to generate modules,
>>> controllers
>>> or forms but for begginners it is very comfortable). In ASP.NET MVC I
>>> don't
>>> need use console but Visual Studio but ASP.NET MVC is very young so
>>> generated controllers/views etc. don't have so good code as in Symfony.
>>> In
>>> ASP>NET MVC and Symfony Framework I don't need to enable layout like in
>>> Zend
>>> Framework. The most horrible thing in Zend it was for me Zend_Acl – using
>>> that I can't still make that only logged users can have access to action
>>> 'add' controller 'books' – in Symfony I can make that using 2 lines of
>>> code
>>> in module 'books':
>>>
>>> add:
>>>  is_secure: on
>>>
>>> and in ASP.NET one line of code in controller:
>>>
>>> [Authorize]
>>>
>>> What is more in Symfony and ASP.NET MVC we have tables in database and
>>> everything else related with users, authorization etc. created in these
>>> frameworks – in Zend I must myself do that.
>>> There is of course more good things in these frameworks – better than in
>>> Zend.
>>>
>>> Documentation – hahah – in Zend documentation is chaotic, is HORRIBLE !!
>>> Have you ever seen documentation of Symfony or ASP.NET MVC ? I have
>>> never
>>> seen worse documentation than in Zend.
>>>
>>> For me Zend isn't a framework but rather components that we can use in
>>> other
>>> frameworks – for example Zend Lucene in Symfony:
>>> http://www.symfony-project.org/jobeet/1_2/Doctrine/en/17
>>>
>>> As I thought – authors of PHP are always late and they are always behind
>>> so
>>> Zend is always late and behind. For now Symfony and ASP.NET MVC are from
>>> XXI
>>> aga, Zend is from XX age.
>>>
>>> This was my compare these frameworks. Sry for my English – it isn't my
>>> national language.
>>>
>>> PS. bold text = I am angry because of delete my subject by Zend company.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Is-there-anybody-from-Zend-team---tp25455352p25531048.html
>>> Sent from the Zend Framework mailing list archive at Nabble.com.
>>>
>>>
>>
>


-- 
Alexander Steshenko | http://lcf.name


Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread Mon Zafra
Sorry, I just have to. Someone can delete stuff sent in a mailing list?
That's hilarious!
Better ask the Zend people to delete this thread too. This is just
embarassing. At least you weren't using your name though, good call on that
one.

   -- Mon


On Wed, Sep 23, 2009 at 11:00 PM, Matthew Ratzloff  wrote:

> Guys, please let this subject die by not replying to the thread.
> -Matt
>
>
> On Wed, Sep 23, 2009 at 1:59 AM, aoohralex  wrote:
>
>>
>> My critical subject about Zend Framework was deleted. Somebody from Zend
>> deleted my post. My criticism PHP authors and Zend Framework in compare to
>> other frameworks wasn't comfortable for Zend company. You can don't agree
>> with me but delete my subject ? So again:
>>
>> I have started learn ZF because I wanted to learn something new.
>> If we have range 0 – 10. My knowledge ZF is 1 – I can make basic things in
>> ZF – connect to database, queries insert/update/delete, basic zend forms,
>> authorization, use jquery and layout in zend, controllers, views.
>> My knowledge Symfony Framework is 5. My knowledge ASP.NET MVC (not
>> ASP.NET)
>> is 4.
>>
>> Now I can say that ZF is very bad framework or maybe rather it isn't a
>> framework. Everybody knows that authors of PHP are always late and behind
>> –
>> for example PHP is really OO from version v5 (eariel it was only some OO
>> elements in PHP). The same is in Zend Framework – this framework is behind
>> others frameworks.
>>
>> First - Zend_Db is nothing compared to Doctrine ORM. Using Zend_Db I have
>> to
>> create myself models:
>>
>> http://framework.zend.com/docs/quickstart/create-a-model-and-database-table
>> ! In Symfony Framework with Doctrine ORM and in ASP.NET MVC with Linq
>> to
>> SQL I don't need because it is wasting of time – there it is automatic –
>> in
>> Symfony using console and in ASP.NET MVC using Visual Studio. Of course
>> Doctrine and Linq to SQL have got more better things.
>>
>> In Zend Framework almost nothing you can do using console (of course
>> almost
>> nothing compared to Symfony) – in Symfony using console you can generate
>> much more (I don't use in Symfony console to generate modules, controllers
>> or forms but for begginners it is very comfortable). In ASP.NET MVC I
>> don't
>> need use console but Visual Studio but ASP.NET MVC is very young so
>> generated controllers/views etc. don't have so good code as in Symfony. In
>> ASP>NET MVC and Symfony Framework I don't need to enable layout like in
>> Zend
>> Framework. The most horrible thing in Zend it was for me Zend_Acl – using
>> that I can't still make that only logged users can have access to action
>> 'add' controller 'books' – in Symfony I can make that using 2 lines of
>> code
>> in module 'books':
>>
>> add:
>>  is_secure: on
>>
>> and in ASP.NET one line of code in controller:
>>
>> [Authorize]
>>
>> What is more in Symfony and ASP.NET MVC we have tables in database and
>> everything else related with users, authorization etc. created in these
>> frameworks – in Zend I must myself do that.
>> There is of course more good things in these frameworks – better than in
>> Zend.
>>
>> Documentation – hahah – in Zend documentation is chaotic, is HORRIBLE !!
>> Have you ever seen documentation of Symfony or ASP.NET MVC ? I have never
>> seen worse documentation than in Zend.
>>
>> For me Zend isn't a framework but rather components that we can use in
>> other
>> frameworks – for example Zend Lucene in Symfony:
>> http://www.symfony-project.org/jobeet/1_2/Doctrine/en/17
>>
>> As I thought – authors of PHP are always late and they are always behind
>> so
>> Zend is always late and behind. For now Symfony and ASP.NET MVC are from
>> XXI
>> aga, Zend is from XX age.
>>
>> This was my compare these frameworks. Sry for my English – it isn't my
>> national language.
>>
>> PS. bold text = I am angry because of delete my subject by Zend company.
>> --
>> View this message in context:
>> http://www.nabble.com/Is-there-anybody-from-Zend-team---tp25455352p25531048.html
>> Sent from the Zend Framework mailing list archive at Nabble.com.
>>
>>
>


[fw-general] Instance of a model.

2009-09-23 Thread Steve Rayner
Following on from by previous post...

 

This is the code in the model for Fetchrow().

 

// Fetch specified record

public function fetchRow($id)

{

  $resultSet = $this->getDbTable()->find($id);

 foreach ($resultSet as $row){

$entry = new Default_Model_Items();

$entry->setId($row->ID)

  ->setList_id($row->LIST_ID)

  ->setDescr($row->DESCR)

  ->setLength($row->LENGTH)

  ->setWidth($row->WIDTH)

  ->setThickness($row->THICKNESS)

  ->setGrade($row->GRADE)

  ->setMapper($this);

 }

  return $entry;

}

 

I see the line  $entry = new Default_Model_Items(); creates another instance
of the model.

Is this the normal way of doing things, as there are then two instances of
the model?

If so, can anyone show me how I should code the controller?

 

Should the instances be destroyed at any point? Or does php do that
automatically?

 

Steve


Williams are pleased to announce our attendance at HOST 2009 from 23 - 27th 
October in Milan.
Come and visit us on Stand G16 in Hall 5 to view a selection of our range of 
refrigeration products and solutions.
If you would like to arrange an appointment with us during Host please contact:
kmagu...@williams-refrigeration.co.uk
Otherwise drop by and see us on our Stand where our sales team will be on hand 
to introduce you to the range and discuss any requirements with you.

Williams Refrigeration is a trading name of AFE Group Limited.
Registered in England & Wales under Registered Number 3872673.  Registered
Office Address - Bryggen Road, North Lynn, Industrial Estate, Kings Lynn, 
Norfolk, PE30 2HZ

Williams Refrigeration reserves the right to block any email attachment we deem 
inappropriate and to also reject any inbound connections from Blacklisted 
servers. Any email meeting the above criteria will be automatically rejected 
without notification given to the original sender.

NOTE: In accordance with the Data Protection Act compliance, all Bulk sends 
should use the BCC field as much as possible.

This e-mail and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error or are having trouble sending email to 
Williams please notify the system administrator - 
postmas...@williams-refrigeration.co.uk

Any views or opinions expressed in this e-mail are those of the sender and do 
not necessarily coincide with those of Williams Refrigeration or the AFE Group.

Re: [fw-general] Instance of a Model

2009-09-23 Thread Alexander Steshenko
What's inside of your model?.. What is 'getList_id'? How does it relate to
the framework?

On Thu, Sep 24, 2009 at 1:00 AM, Steve Rayner <
sray...@williams-refrigeration.co.uk> wrote:

>  In my controller i have code such as this;
>
>
>
> $items = new Default_Model_Items();
>
> $id = (int)$this->_request->getPost('id');
>
> $items->fetchrow($id);
>
> $list_id = $items->getList_id();
>
>
>
> This is what I am trying to do.
>
>
>
> 1.  Create a new instance of the model Default_Model_Items.
>
> 2.  Get the primary key from a parameter in the url (id).
>
> 3.  Fetch the record from the database and store it in the model.
>
> 4.  Get the value of a the field LIST_ID which should now be stored in the
> model, and returned from the getList_ID function.
>
>
>
> My problem is the value of LIST_ID does not get returned.
>
> I put some debug code in the model, and i can see that the value does get
> stored in the model. But when i try to retrieve it i get nothing.
>
>
>
> Is my code above incorrect? It is as though i am looking at a different
> instance of the model when i try to retrieve the value.
>
>
>
> Any help appreciated.
>
>
>
> Steve
>
>
>
>
>  Williams are pleased to announce our attendance at HOST 2009 from 23 -
> 27th October in Milan.
> Come and visit us on Stand G16 in Hall 5 to view a selection of our range
> of refrigeration products and solutions.
> If you would like to arrange an appointment with us during Host please
> contact:
> kmagu...@williams-refrigeration.co.uk
> Otherwise drop by and see us on our Stand where our sales team will be on
> hand to introduce you to the range and discuss any requirements with you.
>
> Williams Refrigeration is a trading name of AFE Group Limited.
> Registered in England & Wales under Registered Number 3872673. Registered
> Office Address - Bryggen Road, North Lynn, Industrial Estate, Kings Lynn,
> Norfolk, PE30 2HZ
>
> Williams Refrigeration reserves the right to block any email attachment we
> deem inappropriate and to also reject any inbound connections from
> Blacklisted servers. Any email meeting the above criteria will be
> automatically rejected without notification given to the original sender.
>
> NOTE: In accordance with the Data Protection Act compliance, all Bulk sends
> should use the BCC field as much as possible.
>
> This e-mail and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error or are having trouble sending email
> to Williams please notify the system administrator -
> postmas...@williams-refrigeration.co.uk
>
> Any views or opinions expressed in this e-mail are those of the sender and
> do not necessarily coincide with those of Williams Refrigeration or the AFE
> Group.
>



-- 
Alexander Steshenko | http://lcf.name


[fw-general] Instance of a Model

2009-09-23 Thread Steve Rayner
In my controller i have code such as this;

 

$items = new Default_Model_Items();

$id = (int)$this->_request->getPost('id');

$items->fetchrow($id);

$list_id = $items->getList_id();

 

This is what I am trying to do.

 

1.  Create a new instance of the model Default_Model_Items.

2.  Get the primary key from a parameter in the url (id).

3.  Fetch the record from the database and store it in the model.

4.  Get the value of a the field LIST_ID which should now be stored in the
model, and returned from the getList_ID function.

 

My problem is the value of LIST_ID does not get returned.

I put some debug code in the model, and i can see that the value does get
stored in the model. But when i try to retrieve it i get nothing.

 

Is my code above incorrect? It is as though i am looking at a different
instance of the model when i try to retrieve the value.

 

Any help appreciated.

 

Steve

 

 


Williams are pleased to announce our attendance at HOST 2009 from 23 - 27th 
October in Milan.
Come and visit us on Stand G16 in Hall 5 to view a selection of our range of 
refrigeration products and solutions.
If you would like to arrange an appointment with us during Host please contact:
kmagu...@williams-refrigeration.co.uk
Otherwise drop by and see us on our Stand where our sales team will be on hand 
to introduce you to the range and discuss any requirements with you.

Williams Refrigeration is a trading name of AFE Group Limited.
Registered in England & Wales under Registered Number 3872673.  Registered
Office Address - Bryggen Road, North Lynn, Industrial Estate, Kings Lynn, 
Norfolk, PE30 2HZ

Williams Refrigeration reserves the right to block any email attachment we deem 
inappropriate and to also reject any inbound connections from Blacklisted 
servers. Any email meeting the above criteria will be automatically rejected 
without notification given to the original sender.

NOTE: In accordance with the Data Protection Act compliance, all Bulk sends 
should use the BCC field as much as possible.

This e-mail and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error or are having trouble sending email to 
Williams please notify the system administrator - 
postmas...@williams-refrigeration.co.uk

Any views or opinions expressed in this e-mail are those of the sender and do 
not necessarily coincide with those of Williams Refrigeration or the AFE Group.

Re: [fw-general] spaces in url with Zend_http

2009-09-23 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Benjamin Eberlei wrote on 22.09.2009 21:44:
> On Tuesday 22 September 2009 09:38:37 pm Derk wrote:
>> Hello,
>>
>> Is it true that Zend_Http can't deal with spaces in the uri? I got some
>> exceptions with the message "..." is not a valid HTTP path. I know spaces
>> in urls are not valid, but a site serves some redirects with spaces in the
>> location. Firefox and IE don't have a problem with it, they do maybe some
>> encoding self.
> 
> valid issue that you are getting this from other sites header locations. I 
> will file an issue for this problem and discuss it with the maintainer :-)
> 
> greets,
> Benjamin
> 

It's a Zend_Uri issue, and already exists. Zend_Uri simply needs to be
able to do the magic usual browsers does.
- --
...
:  ___   _   ___ ___ ___ _ ___:
: |   \ /_\ / __| _ \ _ (_)   \   :
: | |) / _ \\__ \  _/   / | |) |  :
: |___/_/:\_\___/_| |_|_\_|___/   :
:::
: Web: http://www.dasprids.de :
: E-mail : m...@dasprids.de   :
: Jabber : jab...@dasprids.de :
: ICQ: 105677955  :
:::
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkq6bpwACgkQ0HfT5Ws789Ab0ACfQXvLaiEl/E5FTzfBaGtC3tmk
k/QAniwWpTzy/ZwJ3R3I0kVh+J2i81jk
=oVdG
-END PGP SIGNATURE-


Re: [fw-general] Dojo-proposal: What do you think about proposal Zend_Application_Resource_Dojo?

2009-09-23 Thread Matthew Weier O'Phinney
-- Georgy Turevich  wrote
(on Wednesday, 23 September 2009, 10:31 PM +0400):
> 2009/9/21 Matthew Weier O'Phinney 
> >
> > -- Georgy Turevich  wrote
> > (on Monday, 21 September 2009, 10:02 PM +0400):
> > > [skip original message]
> >
> > Awesome idea. I see two things that would need to happen to make it
> > possible:
> >
> > One, it would need to depend on the View resource being available to
> > ensure that a view object is present to be configured. This is trivial
> > to enforce, though.
> 
> Of course it need view object.
> 
> > Second, it would be easier to do this if we add a setOptions() method
> > that proxies to the setters. Please add an issue for this to the
> > tracker, and then a feature request for the Resource -- and make that
> > issue depend on the setOptions() issue.
> 
> I create this issues
> http://framework.zend.com/issues/browse/ZF-7938
> http://framework.zend.com/issues/browse/ZF-7939

Awesome, thanks!

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


Re: [fw-general] Dojo-proposal: What do you think about proposal Zend_Application_Resource_Dojo?

2009-09-23 Thread Georgy Turevich
2009/9/21 Matthew Weier O'Phinney 
>
> -- Georgy Turevich  wrote
> (on Monday, 21 September 2009, 10:02 PM +0400):
> > [skip original message]
>
> Awesome idea. I see two things that would need to happen to make it
> possible:
>
> One, it would need to depend on the View resource being available to
> ensure that a view object is present to be configured. This is trivial
> to enforce, though.

Of course it need view object.

> Second, it would be easier to do this if we add a setOptions() method
> that proxies to the setters. Please add an issue for this to the
> tracker, and then a feature request for the Resource -- and make that
> issue depend on the setOptions() issue.

I create this issues
http://framework.zend.com/issues/browse/ZF-7938
http://framework.zend.com/issues/browse/ZF-7939



--
Georgy


Re: [fw-general] Zend_Dojo_Data, DataGrid and JsonRestStore

2009-09-23 Thread Matthew Weier O'Phinney
-- Thibaw  wrote
(on Wednesday, 23 September 2009, 09:30 AM -0700):
> after trying it for several hours I am giving up now and asking for help!
> 
> My Action:
> 
> //$rows is a database query result
> ...
> $data = new Zend_Dojo_Data();
> $data->setIdentifier('id'); 
> foreach($rows as $row){
>  $data->addItem(array ('id' => $row['idXYZ']));
> }
> echo $data->toJson();
> exit;

First, if you're using a JsonRestStore with DataGrid, you don't need to
wrap your items inside a dojo.data payload; JsonRestStore knows what to
do with them. Simply send a JSON representation of your data:

echo $this->json($rows->toArray());



> My viewscript:
>  
> 
> 
> dojo.require("dojox.grid.DataGrid");
> dojo.require("dojox.data.JsonRestStore");
> dojo.require("dojo.parser");
>  
> 
> dojo.addOnLoad(function(){{
> var Service = function(query, queryOptions) {
> return dojo.xhrGet({url:"/controller/action", handleAs:'json'});
> };
> 
> var Store = new dojox.data.JsonRestStore({target:"/controller/action",
> service: Service, idAttribute:"id" });

Next, I'd recommend using Zend_Rest_Route and Zend_Rest_Controller
(included in 1.9.0 and up) to build your server-side endpoint. If you
do, you can define your store by simply specifying the controller as the
target:

var Store = new dojox.data.JsonRestStore({target: "/controller"});

This is the simplest way to get JsonRestStore and ZF working together.

> var Layout = [ { field: 'id', name: 'id' }];
> 
> Grid = new dojox.grid.DataGrid({ query: { id: "*" }, store: Store,
> structure: Layout }, document.createElement('div'));
> 
> dojo.byId("box").appendChild(Grid.domNode);
> Grid.startup();
> });
> 
>  
> 
> 
> 
>  
> 
> 
> 
>  
> 
> The output, when I call /controller/action directly:
> 
> {"identifier":"id","items":[{"id":"1"},{"id":"2"},{"id":"300"},{"id":"299"},{"id":"298"},{"id":"297"},{"id":"295"},{"id":"296"},{"id":"294"},{"id":"293"},{"id":"291"},{"id":"292"},{"id":"290"},{"id":"289"},{"id":"288"},{"id":"287"},{"id":"286"},{"id":"284"},{"id":"285"},{"id":"283"},{"id":"282"},{"id":"281"},{"id":"280"}]}
> 
>  
> 
>  
> 
> My Problem:
> 
>  
> 
> The Table is displayed correctly, but shows no Data. I was able to get
> different stores to work with similar code, but they lack some functionality
> I need.
> 
>  
> 
> Zend Framework 1.8.4 and the included dojo release.
> 
>  
> 
> Who can help me?
> Thank you very much.
>  
> 
> Sebastian Freitag
> 
> 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Zend_Dojo_Data%2C-DataGrid-and-JsonRestStore-tp25531216p25531216.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
> 

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


[fw-general] Zend_Dojo_Data, DataGrid and JsonRestStore

2009-09-23 Thread Thibaw

Hi,

 

after trying it for several hours I am giving up now and asking for help!

 

My Action:

//$rows is a database query result

...

$data = new Zend_Dojo_Data();

$data->setIdentifier('id'); 

foreach($rows as $row){

 $data->addItem(array ('id' => $row['idXYZ']));

}

 

echo $data->toJson();

exit;

 

My viewscript:

 



dojo.require("dojox.grid.DataGrid");

dojo.require("dojox.data.JsonRestStore");

dojo.require("dojo.parser");

 

dojo.addOnLoad(function(){{

var Service = function(query, queryOptions) {

return dojo.xhrGet({url:"/controller/action", handleAs:'json'});

};

var Store = new dojox.data.JsonRestStore({target:"/controller/action",
service: Service, idAttribute:"id" });

var Layout = [ { field: 'id', name: 'id' }];

Grid = new dojox.grid.DataGrid({ query: { id: "*" }, store: Store,
structure: Layout }, document.createElement('div'));

dojo.byId("box").appendChild(Grid.domNode);

Grid.startup();

});

 



 



 

The output, when I call /controller/action directly:

{"identifier":"id","items":[{"id":"1"},{"id":"2"},{"id":"300"},{"id":"299"},{"id":"298"},{"id":"297"},{"id":"295"},{"id":"296"},{"id":"294"},{"id":"293"},{"id":"291"},{"id":"292"},{"id":"290"},{"id":"289"},{"id":"288"},{"id":"287"},{"id":"286"},{"id":"284"},{"id":"285"},{"id":"283"},{"id":"282"},{"id":"281"},{"id":"280"}]}

 

 

My Problem:

 

The Table is displayed correctly, but shows no Data. I was able to get
different stores to work with similar code, but they lack some functionality
I need.

 

Zend Framework 1.8.4 and the included dojo release.

 

Who can help me?
Thank you very much.
 

Sebastian Freitag



-- 
View this message in context: 
http://www.nabble.com/Zend_Dojo_Data%2C-DataGrid-and-JsonRestStore-tp25531216p25531216.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] Zend Navigation XML config page visibility problem

2009-09-23 Thread Andrew Ballard
On Wed, Sep 23, 2009 at 10:54 AM, dennesabing  wrote:
> I have a zend navigation config via xml and i want to hide some pages by
> setting the visible to false to a page i want to hide. However, the false
> visible pages are still showing on the html. How i can hide them. My Account
> admin account admin:account index Profile Information admin account profile
> admin:account profile false

I had to use 0 instead of false
in the XML configuration. I'm not sure if it is supposed to be that
way or not.

Andrew


[fw-general] zend tool: create project profile

2009-09-23 Thread scs
Hello,
I read the documentation about the zf console tool and tried all of
its commands on a test environment.

My question is that:
Can we create a custom directory structure with zend console tool?
If yes, is it done with the command below:

zf create project path name-of-profile file-of-profile

Does the profile here mean the definition of our custom directory?
I failed to create a custom directory structure from a profile file
with zf console tool.

Did i misunderstand the command or its (unfortunately short) documentation?
If not, can somebody give a concrete example?

Secondly, i examined the .zfproject.xml file created by zf console
tool. I saw some lines e.g:



How can we enable those settings and let zf tool create those
directories with zf create project command?

And the last question is:
If i create a module with zf command, it is created directly under
application/ dir.
Is it possible to set the zf tool to create this for example under
application/modules/ dir?
e.g: application/modules/blog
e.g: application/modules/gallery
etc.

Any clarification or help is appreciated.

Thanks


Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread Matthew Ratzloff
Guys, please let this subject die by not replying to the thread.
-Matt

On Wed, Sep 23, 2009 at 1:59 AM, aoohralex  wrote:

>
> My critical subject about Zend Framework was deleted. Somebody from Zend
> deleted my post. My criticism PHP authors and Zend Framework in compare to
> other frameworks wasn't comfortable for Zend company. You can don't agree
> with me but delete my subject ? So again:
>
> I have started learn ZF because I wanted to learn something new.
> If we have range 0 – 10. My knowledge ZF is 1 – I can make basic things in
> ZF – connect to database, queries insert/update/delete, basic zend forms,
> authorization, use jquery and layout in zend, controllers, views.
> My knowledge Symfony Framework is 5. My knowledge ASP.NET MVC (not ASP.NET
> )
> is 4.
>
> Now I can say that ZF is very bad framework or maybe rather it isn't a
> framework. Everybody knows that authors of PHP are always late and behind –
> for example PHP is really OO from version v5 (eariel it was only some OO
> elements in PHP). The same is in Zend Framework – this framework is behind
> others frameworks.
>
> First - Zend_Db is nothing compared to Doctrine ORM. Using Zend_Db I have
> to
> create myself models:
> http://framework.zend.com/docs/quickstart/create-a-model-and-database-table
> ! In Symfony Framework with Doctrine ORM and in ASP.NET MVC with Linq
> to
> SQL I don't need because it is wasting of time – there it is automatic – in
> Symfony using console and in ASP.NET MVC using Visual Studio. Of course
> Doctrine and Linq to SQL have got more better things.
>
> In Zend Framework almost nothing you can do using console (of course almost
> nothing compared to Symfony) – in Symfony using console you can generate
> much more (I don't use in Symfony console to generate modules, controllers
> or forms but for begginners it is very comfortable). In ASP.NET MVC I
> don't
> need use console but Visual Studio but ASP.NET MVC is very young so
> generated controllers/views etc. don't have so good code as in Symfony. In
> ASP>NET MVC and Symfony Framework I don't need to enable layout like in
> Zend
> Framework. The most horrible thing in Zend it was for me Zend_Acl – using
> that I can't still make that only logged users can have access to action
> 'add' controller 'books' – in Symfony I can make that using 2 lines of code
> in module 'books':
>
> add:
>  is_secure: on
>
> and in ASP.NET one line of code in controller:
>
> [Authorize]
>
> What is more in Symfony and ASP.NET MVC we have tables in database and
> everything else related with users, authorization etc. created in these
> frameworks – in Zend I must myself do that.
> There is of course more good things in these frameworks – better than in
> Zend.
>
> Documentation – hahah – in Zend documentation is chaotic, is HORRIBLE !!
> Have you ever seen documentation of Symfony or ASP.NET MVC ? I have never
> seen worse documentation than in Zend.
>
> For me Zend isn't a framework but rather components that we can use in
> other
> frameworks – for example Zend Lucene in Symfony:
> http://www.symfony-project.org/jobeet/1_2/Doctrine/en/17
>
> As I thought – authors of PHP are always late and they are always behind so
> Zend is always late and behind. For now Symfony and ASP.NET MVC are from
> XXI
> aga, Zend is from XX age.
>
> This was my compare these frameworks. Sry for my English – it isn't my
> national language.
>
> PS. bold text = I am angry because of delete my subject by Zend company.
> --
> View this message in context:
> http://www.nabble.com/Is-there-anybody-from-Zend-team---tp25455352p25531048.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


[fw-general] Zend Navigation XML config page visibility problem

2009-09-23 Thread dennesabing

I have a zend navigation config via xml and i want to hide some pages by
setting the visible to false to a page i want to hide. However, the false
visible pages are still showing on the html. How i can hide them. 


My Account
admin
account
admin:account
index


Profile Information
admin
account
profile
admin:account
profile
false





-- 
View this message in context: 
http://www.nabble.com/Zend-Navigation-XML-config-page-visibility-problem-tp25531185p25531185.html
Sent from the Zend Framework mailing list archive at Nabble.com.


Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread alayn
El mié, 23-09-2009 a las 08:53 -0400, Matthew Weier O'Phinney escribió:
> -- alayn  wrote
> (on Wednesday, 23 September 2009, 01:04 PM +0200):
> > El mié, 23-09-2009 a las 06:51 -0400, Matthew Weier O'Phinney escribió:
> > > We make a point never to delete posts. If you did not see your post go
> > > through, it was an issue with your mailer, or the post was trapped as
> > > spam.
> > 
> > About this spam trapping issue...
> > 
> > I sent a pair of emails some days ago and none of them was delivered to
> > the list. 
> > 
> > Looks like if I answer a thread there's no problem, but if I try to
> > start a new one the email is never delivered...
> > 
> > Is there anyway to know if I am being treated as a spammer?? And if so,
> > is there anyway to get out of this spammers list?? 
> > O:)
> 
> We use ezmlm for our mailing list software, and it has some very robust
> spam trapping. However, any emails it flags as spam are then marked for
> moderation -- and I get an email at that point indicating that the email
> has been flagged as such. Anything that isn't obvious spam I approve.
> 
> That said, there may be another spam filter sitting above ezmlm trapping
> other emails (corporate spam filter); I'll see if this is the case.

I would appreciate if you can take a look at this...

> Typically, if your emails *are* getting trapped as spam, it's because
> you have a misconfigured email server (e.g., it may be acting as an open
> relay), so the best solution is to lock down your mail server or to
> offload your mail server to a trusted host (such as hosted accounts on
> Y! or Gmail).

I'm pretty sure our mail server is not acting as an open relay. I prefer
not to use a Gmail o Y! account, but I suppose I would if I have no
other choice...

Thanks you,

--
Alayn Gortazar




Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread Matthew Weier O'Phinney
-- alayn  wrote
(on Wednesday, 23 September 2009, 01:04 PM +0200):
> El mié, 23-09-2009 a las 06:51 -0400, Matthew Weier O'Phinney escribió:
> > We make a point never to delete posts. If you did not see your post go
> > through, it was an issue with your mailer, or the post was trapped as
> > spam.
> 
> About this spam trapping issue...
> 
> I sent a pair of emails some days ago and none of them was delivered to
> the list. 
> 
> Looks like if I answer a thread there's no problem, but if I try to
> start a new one the email is never delivered...
> 
> Is there anyway to know if I am being treated as a spammer?? And if so,
> is there anyway to get out of this spammers list?? 
> O:)

We use ezmlm for our mailing list software, and it has some very robust
spam trapping. However, any emails it flags as spam are then marked for
moderation -- and I get an email at that point indicating that the email
has been flagged as such. Anything that isn't obvious spam I approve.

That said, there may be another spam filter sitting above ezmlm trapping
other emails (corporate spam filter); I'll see if this is the case.

Typically, if your emails *are* getting trapped as spam, it's because
you have a misconfigured email server (e.g., it may be acting as an open
relay), so the best solution is to lock down your mail server or to
offload your mail server to a trusted host (such as hosted accounts on
Y! or Gmail).

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


Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread alayn
El mié, 23-09-2009 a las 12:17 +0100, Alan Wagstaff escribió:

> Did the emails have a subject of "Anyone having troubles with random
> empty captchas"?  If so, I received both of them fine through the
> list.
> 
> 
> Thanks,
> Alan
>  

Nope, I started that thread through the Nabble interface, cause there
was no way to get it started through my email client. :(

--
Alayn Gortazar




Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread Alan Wagstaff
2009/9/23 alayn 

>
> El mié, 23-09-2009 a las 06:51 -0400, Matthew Weier O'Phinney escribió:
> > We make a point never to delete posts. If you did not see your post go
> > through, it was an issue with your mailer, or the post was trapped as
> > spam.
> >
>
> About this spam trapping issue...
>
> I sent a pair of emails some days ago and none of them was delivered to
> the list.
>
> Looks like if I answer a thread there's no problem, but if I try to
> start a new one the email is never delivered...
>
> Is there anyway to know if I am being treated as a spammer?? And if so,
> is there anyway to get out of this spammers list??
> O:)
>
> Did the emails have a subject of "Anyone having troubles with random empty
captchas"?  If so, I received both of them fine through the list.

Thanks,
Alan


Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread alayn

El mié, 23-09-2009 a las 06:51 -0400, Matthew Weier O'Phinney escribió:
> We make a point never to delete posts. If you did not see your post go
> through, it was an issue with your mailer, or the post was trapped as
> spam.
> 

About this spam trapping issue...

I sent a pair of emails some days ago and none of them was delivered to
the list. 

Looks like if I answer a thread there's no problem, but if I try to
start a new one the email is never delivered...

Is there anyway to know if I am being treated as a spammer?? And if so,
is there anyway to get out of this spammers list?? 
O:)

Thanks in advance,

--
Alayn Gortazar




Re: [fw-general] DataGrid

2009-09-23 Thread Matthew Weier O'Phinney
-- Cameron  wrote
(on Wednesday, 23 September 2009, 09:42 AM +0800):
> Dojo grids. I've actually just moved a lot of my functionality over to Dojo
> JsonRestStore so I can do in-grid editing, it's not completed yet, but so far
> it is coming together really smoothly.

I'm planning on doing a blog post on this combination (Zend_Rest_Route +
dojox.data.JsonRestStore + dojox.grid.DataGrid) -- the three work
together incredibly well, and make CRUD interfaces a breeze.

> On Tue, Sep 22, 2009 at 9:10 PM, Kyle Spraggs  wrote:
> 
> I was curious what everyone is using for DataGrids. I am aware of http://
> petala-azul.com/blog/ as well as http://code.google.com/p/
> zend-framework-datagrid/ and there is also the possibility of Dojo Grids.
> Any input would be appreciated.

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


Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread Matthew Weier O'Phinney
-- aoohralex  wrote
(on Wednesday, 23 September 2009, 01:59 AM -0700):
> My critical subject about Zend Framework was deleted. Somebody from Zend
> deleted my post. My criticism PHP authors and Zend Framework in compare to
> other frameworks wasn't comfortable for Zend company. You can don't agree
> with me but delete my subject ? So again:

We make a point never to delete posts. If you did not see your post go
through, it was an issue with your mailer, or the post was trapped as
spam.

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


Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread Alexander Johannesen
aoohralex  wrote:

"ZEND, I'M REALLY HAPPY FOR YOU, I'M GONNA LET YOU FINISH, BUT SYMFONY
HAS ONE OF THE BEST FRAMEWORKS OF ALL TIME!"


Alex
-- 
 Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
--- http://shelter.nu/blog/ --
-- http://www.google.com/profiles/alexander.johannesen ---


Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread Pádraic Brady
Before you make an even bigger fool out of yourself...

Nabble's default view (you are using Nabble, right?) shows comments with a 
rating of two or more. Your email was rated down to 1 (i.e. a poor post), so it 
is removed from the default view. You can reset the rating filter to 0 to see 
your original email. Why it was rated so poorly I'll leave to you to concoct a 
reason for just as you concocted your ill advised blaming of Zend for 
"deleting" your original email, a feat that is impossible unless they access 
every mail server list members use (and then access their PCs to get at the 
local copy).

 Pádraic Brady

http://blog.astrumfutura.com
http://www.survivethedeepend.com
OpenID Europe Foundation Irish Representative






From: aoohralex 
To: fw-general@lists.zend.com
Sent: Wednesday, September 23, 2009 9:59:36 AM
Subject: Re: [fw-general] Is there anybody from Zend team ?


My critical subject about Zend Framework was deleted. Somebody from Zend
deleted my post. My criticism PHP authors and Zend Framework in compare to
other frameworks wasn't comfortable for Zend company. You can don't agree
with me but delete my subject ? So again:

I have started learn ZF because I wanted to learn something new.
If we have range 0 – 10. My knowledge ZF is 1 – I can make basic things in
ZF – connect to database, queries insert/update/delete, basic zend forms,
authorization, use jquery and layout in zend, controllers, views.
My knowledge Symfony Framework is 5. My knowledge ASP.NET MVC (not ASP.NET)
is 4.

Now I can say that ZF is very bad framework or maybe rather it isn't a
framework. Everybody knows that authors of PHP are always late and behind –
for example PHP is really OO from version v5 (eariel it was only some OO
elements in PHP). The same is in Zend Framework – this framework is behind
others frameworks. 

First - Zend_Db is nothing compared to Doctrine ORM. Using Zend_Db I have to
create myself models:
http://framework.zend.com/docs/quickstart/create-a-model-and-database-table
! In Symfony Framework with Doctrine ORM and in ASP.NET MVC with Linq to
SQL I don't need because it is wasting of time – there it is automatic – in
Symfony using console and in ASP.NET MVC using Visual Studio. Of course
Doctrine and Linq to SQL have got more better things. 

In Zend Framework almost nothing you can do using console (of course almost
nothing compared to Symfony) – in Symfony using console you can generate
much more (I don't use in Symfony console to generate modules, controllers
or forms but for begginners it is very comfortable). In ASP.NET MVC I don't
need use console but Visual Studio but ASP.NET MVC is very young so
generated controllers/views etc. don't have so good code as in Symfony. In
ASP>NET MVC and Symfony Framework I don't need to enable layout like in Zend
Framework. The most horrible thing in Zend it was for me Zend_Acl – using
that I can't still make that only logged users can have access to action
'add' controller 'books' – in Symfony I can make that using 2 lines of code
in module 'books':

add:
  is_secure: on

and in ASP.NET one line of code in controller:

[Authorize] 

What is more in Symfony and ASP.NET MVC we have tables in database and
everything else related with users, authorization etc. created in these
frameworks – in Zend I must myself do that.
There is of course more good things in these frameworks – better than in
Zend.

Documentation – hahah – in Zend documentation is chaotic, is HORRIBLE !!
Have you ever seen documentation of Symfony or ASP.NET MVC ? I have never
seen worse documentation than in Zend.

For me Zend isn't a framework but rather components that we can use in other
frameworks – for example Zend Lucene in Symfony:
http://www.symfony-project.org/jobeet/1_2/Doctrine/en/17 

As I thought – authors of PHP are always late and they are always behind so
Zend is always late and behind. For now Symfony and ASP.NET MVC are from XXI
aga, Zend is from XX age.

This was my compare these frameworks. Sry for my English – it isn't my
national language.

PS. bold text = I am angry because of delete my subject by Zend company.
-- 
View this message in context: 
http://www.nabble.com/Is-there-anybody-from-Zend-team---tp25455352p25531048.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread Vladas Diržys
Can you tell your name, surname? Would be interesting to know identity of
the person, who can be so damn stupid.
--
Regards,
Vladas Diržys


On Wed, Sep 23, 2009 at 11:59, aoohralex  wrote:

>
> My critical subject about Zend Framework was deleted. Somebody from Zend
> deleted my post. My criticism PHP authors and Zend Framework in compare to
> other frameworks wasn't comfortable for Zend company. You can don't agree
> with me but delete my subject ? So again:
>
> I have started learn ZF because I wanted to learn something new.
> If we have range 0 – 10. My knowledge ZF is 1 – I can make basic things in
> ZF – connect to database, queries insert/update/delete, basic zend forms,
> authorization, use jquery and layout in zend, controllers, views.
> My knowledge Symfony Framework is 5. My knowledge ASP.NET MVC (not ASP.NET
> )
> is 4.
>
> Now I can say that ZF is very bad framework or maybe rather it isn't a
> framework. Everybody knows that authors of PHP are always late and behind –
> for example PHP is really OO from version v5 (eariel it was only some OO
> elements in PHP). The same is in Zend Framework – this framework is behind
> others frameworks.
>
> First - Zend_Db is nothing compared to Doctrine ORM. Using Zend_Db I have
> to
> create myself models:
> http://framework.zend.com/docs/quickstart/create-a-model-and-database-table
> ! In Symfony Framework with Doctrine ORM and in ASP.NET MVC with Linq
> to
> SQL I don't need because it is wasting of time – there it is automatic – in
> Symfony using console and in ASP.NET MVC using Visual Studio. Of course
> Doctrine and Linq to SQL have got more better things.
>
> In Zend Framework almost nothing you can do using console (of course almost
> nothing compared to Symfony) – in Symfony using console you can generate
> much more (I don't use in Symfony console to generate modules, controllers
> or forms but for begginners it is very comfortable). In ASP.NET MVC I
> don't
> need use console but Visual Studio but ASP.NET MVC is very young so
> generated controllers/views etc. don't have so good code as in Symfony. In
> ASP>NET MVC and Symfony Framework I don't need to enable layout like in
> Zend
> Framework. The most horrible thing in Zend it was for me Zend_Acl – using
> that I can't still make that only logged users can have access to action
> 'add' controller 'books' – in Symfony I can make that using 2 lines of code
> in module 'books':
>
> add:
>  is_secure: on
>
> and in ASP.NET one line of code in controller:
>
> [Authorize]
>
> What is more in Symfony and ASP.NET MVC we have tables in database and
> everything else related with users, authorization etc. created in these
> frameworks – in Zend I must myself do that.
> There is of course more good things in these frameworks – better than in
> Zend.
>
> Documentation – hahah – in Zend documentation is chaotic, is HORRIBLE !!
> Have you ever seen documentation of Symfony or ASP.NET MVC ? I have never
> seen worse documentation than in Zend.
>
> For me Zend isn't a framework but rather components that we can use in
> other
> frameworks – for example Zend Lucene in Symfony:
> http://www.symfony-project.org/jobeet/1_2/Doctrine/en/17
>
> As I thought – authors of PHP are always late and they are always behind so
> Zend is always late and behind. For now Symfony and ASP.NET MVC are from
> XXI
> aga, Zend is from XX age.
>
> This was my compare these frameworks. Sry for my English – it isn't my
> national language.
>
> PS. bold text = I am angry because of delete my subject by Zend company.
> --
> View this message in context:
> http://www.nabble.com/Is-there-anybody-from-Zend-team---tp25455352p25531048.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread peas sopheak
Hello,

It's look more problem for me about your email. Can you please tell me how
can i unregistered these email?

Kinds regard,
Sopheak

2009/9/23 WebCorp s.r.o. | Jan Juříček 

>   *From:* Cameron [mailto:themsel...@gmail.com]
> *Sent:* Wednesday, September 23, 2009 11:08 AM
> *To:* fw-general@lists.zend.com
> *Subject:* Re: [fw-general] Is there anybody from Zend team ?
>
>
>
>
>
> On Wed, Sep 23, 2009 at 5:03 PM, Alan Wagstaff 
> wrote:
>
> Hi,
>
> 2009/9/23 aoohralex 
>
>
> My critical subject about Zend Framework was deleted. Somebody from Zend
> deleted my post. My criticism PHP authors and Zend Framework in compare to
> other frameworks wasn't comfortable for Zend company. You can don't agree
> with me but delete my subject ? So again:
>
>
>
> I'd just like to point out that this is a mailing list, not a forum.  That
> means that a copy of every email gets sent to everyone subscribed to the
> list.  No-one 'deleted' your email as that is not possible.
>
>
>
> Kind regards,
>
> Alan
>
>
>
>
> Heh, I sure deleted the hell out of it
>
>
>
>
>
> Where is that "block user" button?
>
>
>
> -j
>


Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread Carlton Gibson

Aoohralex,

I'm sorry but if you think so little of Zend Framework, why on Earth  
don't you just use all these other frameworks that you think are  
superior instead? This is a question for you to answer to yourself --  
no-one on this list is interested.


If you do want to use Zend Framework then that's great for you, but  
your constant _negativity_ -- based on next to no experience -- will  
achieve nothing but to alienate the most useful resources of Zend  
Framework, the community.


Seriously, calm down, take a step back and consider for the moment  
that just maybe Zend Framework is as good as people think it to be.


Regards,
Carlton


RE: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread WebCorp s . r . o . | Jan Juříček
From: Cameron [mailto:themsel...@gmail.com] 
Sent: Wednesday, September 23, 2009 11:08 AM
To: fw-general@lists.zend.com
Subject: Re: [fw-general] Is there anybody from Zend team ?

 

 

On Wed, Sep 23, 2009 at 5:03 PM, Alan Wagstaff  wrote:

Hi,

2009/9/23 aoohralex 


My critical subject about Zend Framework was deleted. Somebody from Zend
deleted my post. My criticism PHP authors and Zend Framework in compare to
other frameworks wasn't comfortable for Zend company. You can don't agree
with me but delete my subject ? So again:

 

I'd just like to point out that this is a mailing list, not a forum.  That
means that a copy of every email gets sent to everyone subscribed to the
list.  No-one 'deleted' your email as that is not possible.

 

Kind regards,

Alan

 


Heh, I sure deleted the hell out of it 

 

 

Where is that "block user" button?

 

-j



Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread Cameron
On Wed, Sep 23, 2009 at 5:03 PM, Alan Wagstaff  wrote:

> Hi,
>
> 2009/9/23 aoohralex 
>
>>
>> My critical subject about Zend Framework was deleted. Somebody from Zend
>> deleted my post. My criticism PHP authors and Zend Framework in compare to
>> other frameworks wasn't comfortable for Zend company. You can don't agree
>> with me but delete my subject ? So again:
>>
>>
> I'd just like to point out that this is a mailing list, not a forum.  That
> means that a copy of every email gets sent to everyone subscribed to the
> list.  No-one 'deleted' your email as that is not possible.
>
> Kind regards,
> Alan
>
>
Heh, I sure deleted the hell out of it


Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread Alan Wagstaff
Hi,

2009/9/23 aoohralex 

>
> My critical subject about Zend Framework was deleted. Somebody from Zend
> deleted my post. My criticism PHP authors and Zend Framework in compare to
> other frameworks wasn't comfortable for Zend company. You can don't agree
> with me but delete my subject ? So again:
>
>
I'd just like to point out that this is a mailing list, not a forum.  That
means that a copy of every email gets sent to everyone subscribed to the
list.  No-one 'deleted' your email as that is not possible.

Kind regards,
Alan


Re: [fw-general] Is there anybody from Zend team ?

2009-09-23 Thread aoohralex

My critical subject about Zend Framework was deleted. Somebody from Zend
deleted my post. My criticism PHP authors and Zend Framework in compare to
other frameworks wasn't comfortable for Zend company. You can don't agree
with me but delete my subject ? So again:

I have started learn ZF because I wanted to learn something new.
If we have range 0 – 10. My knowledge ZF is 1 – I can make basic things in
ZF – connect to database, queries insert/update/delete, basic zend forms,
authorization, use jquery and layout in zend, controllers, views.
My knowledge Symfony Framework is 5. My knowledge ASP.NET MVC (not ASP.NET)
is 4.

Now I can say that ZF is very bad framework or maybe rather it isn't a
framework. Everybody knows that authors of PHP are always late and behind –
for example PHP is really OO from version v5 (eariel it was only some OO
elements in PHP). The same is in Zend Framework – this framework is behind
others frameworks. 

First - Zend_Db is nothing compared to Doctrine ORM. Using Zend_Db I have to
create myself models:
http://framework.zend.com/docs/quickstart/create-a-model-and-database-table
! In Symfony Framework with Doctrine ORM and in ASP.NET MVC with Linq to
SQL I don't need because it is wasting of time – there it is automatic – in
Symfony using console and in ASP.NET MVC using Visual Studio. Of course
Doctrine and Linq to SQL have got more better things. 

In Zend Framework almost nothing you can do using console (of course almost
nothing compared to Symfony) – in Symfony using console you can generate
much more (I don't use in Symfony console to generate modules, controllers
or forms but for begginners it is very comfortable). In ASP.NET MVC I don't
need use console but Visual Studio but ASP.NET MVC is very young so
generated controllers/views etc. don't have so good code as in Symfony. In
ASP>NET MVC and Symfony Framework I don't need to enable layout like in Zend
Framework. The most horrible thing in Zend it was for me Zend_Acl – using
that I can't still make that only logged users can have access to action
'add' controller 'books' – in Symfony I can make that using 2 lines of code
in module 'books':

add:
  is_secure: on

and in ASP.NET one line of code in controller:

[Authorize] 

What is more in Symfony and ASP.NET MVC we have tables in database and
everything else related with users, authorization etc. created in these
frameworks – in Zend I must myself do that.
There is of course more good things in these frameworks – better than in
Zend.

Documentation – hahah – in Zend documentation is chaotic, is HORRIBLE !!
Have you ever seen documentation of Symfony or ASP.NET MVC ? I have never
seen worse documentation than in Zend.

For me Zend isn't a framework but rather components that we can use in other
frameworks – for example Zend Lucene in Symfony:
http://www.symfony-project.org/jobeet/1_2/Doctrine/en/17 

As I thought – authors of PHP are always late and they are always behind so
Zend is always late and behind. For now Symfony and ASP.NET MVC are from XXI
aga, Zend is from XX age.

This was my compare these frameworks. Sry for my English – it isn't my
national language.

PS. bold text = I am angry because of delete my subject by Zend company.
-- 
View this message in context: 
http://www.nabble.com/Is-there-anybody-from-Zend-team---tp25455352p25531048.html
Sent from the Zend Framework mailing list archive at Nabble.com.