Re: [fw-general] About improving ZF doc translation

2008-09-01 Thread Jason Qi
Please see my comments inline.

Regards,

Jason.


--- On Mon, 9/1/08, mikaelkael <[EMAIL PROTECTED]> wrote:

> From: mikaelkael <[EMAIL PROTECTED]>
> Subject: Re: [fw-general] About improving ZF doc translation
> To: "Wil Sinclair" <[EMAIL PROTECTED]>, fw-general@lists.zend.com
> Date: Monday, September 1, 2008, 1:48 AM
> "But translators should consider waiting a little while
> before applying 
> these formatting changes" : it's what I think :-)
**
How to schedule this kind of job? 
*

> .
> 
> For the consistency of the documentation, following the
> example of the 
> code of the ZF, we can add a light script of tests to
> check: line 
> length, presence of a \n at the good place, respect of
> code conventions...
> 
***
I agree that we need some tools to do the documents check for some purposes
(like fixing formatting probelm)as we human are more likely to forget some
of them or to make some typos on that.
***


> Mickael.
> 
> Wil Sinclair a écrit :
> > I kept it right around 70 columns, mainly because the
> code started moving off the printable page and it would have
> been hard to read in a smaller font. But translators should
> consider waiting a little while before applying these
> formatting changes, unless you'd like to render your
> docs in PDF now, that is. I will be looking through all the
> docs and making them consistent style-wise very soon after
> 1.6, and I will have to make changes to the code listings at
> that time as well.
> > I apologize for all the changes. As some of you may
**
I am glad to see our documents has been greatly improved.
Everybody should thank you for the changes.I did know some complaints
on the examples within ZF documents long time ago.

And also I think it should be a chance to let us to re think how to do
the documents(and translating) more efficiently and accurately. I believe
some similar changes will be happening somethings in the future.

That's why I am thinking we provide Zend_Translate as a component 
of ZF to others to facilitate their development, why don't we 
make use of it?  

**

> have noticed, while the content is typically good and
> consistently thorough, the writing styles, code conventions,
> and formatting can differ widely from one section to the
> next on the master English document. It has been livable up
> to now, but really comes out when you render the ref guide
> in a single document. The changes I have been making and
> plan to make were chosen in part because they shouldn't
> impact translations that much. I think we should talk about
> methods by which we can start sharing examples and figures
> as a partial solution to this problem if the translators
> feel that they have to be consistent even with code
> formatting in the translations.
> >
> > ,Wil






RE: [fw-general] About improving ZF doc translation

2008-08-31 Thread Jason Qi
Yes, I meant that, but not only that, there are many formatting fixing before 
you. We have Zend_Translate module, why don't we take advantage of it to 
improve the translation system?

What comes to my mind quickly is using the English version as the placeholders 
on the raw template files and using a tool to generate the final translated 
files. let me use an example to show my thought:

1) a snippet of a typical example of raw template file looks like:


Introduction


Zend_Acl provides a lightweight and flexible access control list (ACL) 
implementation
for privileges management. In general, an application may utilize such 
ACL's
to control access to certain protected objects by other requesting 
objects.




2) assume using POedit as a translating tool and translating zh doc,then in the 
Zend_Acl-zh.po file, it looks like:

msgid "Introduction"
msgstr "Chinese translation of 'Introduction'"

msgid " Zend_Acl provides a lightweight and flexible access control list (ACL) 
implementation
for privileges management. In general, an application may utilize such 
ACL's
to control access to certain protected objects by other requesting 
objects."
msgstr "Chinese translation of the content of this msgid"


3) Then using a tool (Zend_Translate should be one of them) to convert the 
Zend_Acl-zh.po to \documentation\manual\zh\module_specs\Zend_Acl.xml before 
generating the html file.

Thus, we only need maintain the formatting part on the raw files.

Regards,

Jason.

--- On Sat, 8/30/08, Wil Sinclair <[EMAIL PROTECTED]> wrote:

> From: Wil Sinclair <[EMAIL PROTECTED]>
> Subject: RE: [fw-general] About improving ZF doc translation
> To: [EMAIL PROTECTED], fw-general@lists.zend.com
> Date: Saturday, August 30, 2008, 1:59 AM
> Do you mean the changes I'm making to the
>  sections? If
> so, the formatting here is a bit more significant than the
> formatting in
> any other section. This is because no renderer (HTML, PDF,
> etc.) wraps
> this text- and they shouldn't either since that would
> just make the code
> unreadable. All the changes I'm making to the code are
> specifically so
> that it doesn't run off the page when rendered in a
> printable format
> like PDF. Going forward, if documentors were stricter about
> applying the
> '80 column' rule in the coding standards for docs,
> this would be less of
> an issue.
> On solution that we could consider is having all
> translations share code
> examples. This is somewhat tricky, since there is
> documentation in the
> code comments that is usually translated, too. I think we
> might be able
> to refactor some of these examples to move the
> documentation that is
> current in code comments out to the normal text, but there
> are certain
> cases where this can be very unwieldy and make the docs
> potentially more
> confusing. I don't won't to make translators jobs
> harder than they are
> already. :) Does anyone have any other suggestions? Does
> anyone think
> there is enough value in sharing examples across
> translations that we
> should try this? If so, I'd still have to figure out
> the means of doing
> this, but docbook has a simple include mechanism that
> should make it
> pretty easy if we decided to go in this direction.
> 
> ,Wil
> 
> > -Original Message-
> > From: Jason Qi [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 28, 2008 1:21 PM
> > To: fw-general@lists.zend.com
> > Subject: [fw-general] About improving ZF doc
> translation
> > 
> > Hi All,
> > 
> > Recently, we are experiencing a huge modification on
> the document
> > formatting.
> > 
> > Can we separate the formatting stuff from the
> documents(like what CSS
> > does)? Thus, formatting stuffs are kept in one place
> and can apply to
> > all languages, let our translators only focus on the
> translating job.
> > 
> > Thanks.
> > 
> > Jason.
> > 
> > 
> > 
> >


  



[fw-general] About improving ZF doc translation

2008-08-28 Thread Jason Qi
Hi All,

Recently, we are experiencing a huge modification on the document formatting. 

Can we separate the formatting stuff from the documents(like what CSS does)? 
Thus, formatting stuffs are kept in one place and can apply to all languages, 
let our translators only focus on the translating job.

Thanks.

Jason.



  



[fw-general] Does fisheye shutdown?

2008-07-09 Thread Jason Qi
Hi All,

Does anybody else notice that the fisheye has not been working for a couple 
days?

http://framework.zend.com/code/browse/Zend_Framework/standard/trunk/documentation/manual/en/module_specs/Zend_Date-Additional.xml


Thanks.

Jason.



  

Re: [fw-general] Subdomains and Zend Framework

2008-05-08 Thread Jason Qi
Yes, I agree with you. To computer, there are no different between "www" and " 
Chicago" or "Newyork", but the name itself.

Jason.


Jerry McG <[EMAIL PROTECTED]> wrote: 
Hi All,

I have a file system layout similar to the recommendation at
http://framework.zend.com/manual/en/zend.controller.html#zend.controller.quickstart.go.directory
I would like to work with subdomains such as http://chicago.example.com and
http://newyork.example.com. I have added these subdomains in my Apache
virtual hosts file as well as in the Windows hosts file. Now, how can I make
subdomains work in Zend Framework. Should I create folders called Chicago
and Newyork and repeat the recommended layout within these folders?

Please guide me.

Thanks!

Jerry.
-- 
View this message in context: 
http://www.nabble.com/Subdomains-and-Zend-Framework-tp17125088p17125088.html
Sent from the Zend Framework mailing list archive at Nabble.com.



   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: [fw-general] New Servers are Up!

2008-05-03 Thread Jason Qi
One more thing:

The translation status page did reflect the commits.
http://framework.zend.com/manual/status

I committed "sync with r9345" right after Matthew announced "server is up" , 
however, in status page, they are still not updated.

Jason.
 
   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: [fw-general] New Servers are Up!

2008-05-01 Thread Jason Qi
Great work!

Just committed, faster than before

Jason.

Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: After a long wait (thanks 
for the patience, all!), we're now up and
running in the new data center!

The new data center gives us several things immediately:

  * Failover for the PHP-based frontend
  * Dedicated server for the java tools (wiki, issue tracker, svn
browser) and subversion
  * Redundant database servers

In the long term, it will also provide us with a much more scalable
infrastructure if demand dictates growth.

Additionally, we now have Single Sign On (SSO) for our various java
tools, meaning you can sign on to any of them, and have your
authentication persist through the other tools. We are also now running
the latest versions of Atlassian's tools, which will allow us to roll
out other features in the coming weeks.

DNS may take another day or so to propagate to some of you, but based on
the server logs, we're getting steady traffic already.

We're still tweaking a few things visually and performance wise, but
everything is open for business; feel free to start adding and updating
pages and issues, and committing those bug fixes!

-- 
Matthew Weier O'Phinney
Software Architect   | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/


   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: [fw-general] Action Helper by name NotifyPreDispatch not found.

2008-05-01 Thread Jason Qi
Thanks Matt,

ZF 1.5.1
Zend Studio 5.5.1

Bootstrap is:

set('config', $config);

// setup database
$db = Zend_Db::factory($config->db);
Zend_Db_Table::setDefaultAdapter($db);

// setup controller
$frontController = Zend_Controller_Front::getInstance();
$frontController->throwExceptions(true);
$frontController->setControllerDirectory('../application/controllers');
Zend_Layout::startMvc(array('layoutPath'=>'../application/layouts'));

// setup action helper
$view = new Zend_View();
$view->addHelperPath('My/View/Helper/', 'My_View_Helper');
Zend_Controller_Action_HelperBroker::addPrefix('My_Helper');
 
// run!
$frontController->dispatch();

-
The problem is: when F10 run $frontController->dispatch(); no problem, but when 
F11 first get in, then this error message occurred.

Thanks.

Jason.





Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: -- Jason Qi  wrote
(on Wednesday, 30 April 2008, 09:36 PM -0700):
> I encountered the same situation as this:
> 
> http://www.zfforums.com/zend-framework-general-discussions-1/
> general-q-zend-framework-2/
> action-helper-name-notifypredispatch-not-found-when-debugging-zend-debugger-526.html
> 
> Does anyone know what happened ?

There's nowhere near enough information on that post for me to begin
speculating on it. What does the bootstrap look like, is there a
NotifyPreDispatch plugin that's supposed to be triggered, what version
of ZF, what version of Zend Studio... 

-- 
Matthew Weier O'Phinney
Software Architect   | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/


   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

[fw-general] Action Helper by name NotifyPreDispatch not found.

2008-04-30 Thread Jason Qi
I encountered the same situation as this:

http://www.zfforums.com/zend-framework-general-discussions-1/general-q-zend-framework-2/action-helper-name-notifypredispatch-not-found-when-debugging-zend-debugger-526.html

Does anyone know what happened ?

Thanks.

Jason.

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: [fw-general] Our new Zend Framework Architect

2008-04-08 Thread Jason Qi
Wow, Matthew, Congratulation! 

I love your Form.

Jason.

   
-
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.

[fw-general] How to separate the elements ? (Zend_Form)

2008-04-04 Thread Jason Qi
Hi All,

I just followed the example in (15.9. Advanced Zend_Form Usage) and the text 
and password elements seemed adhere together. See:

http://dev.tmclubs.org/registration

How can I separate them (let some space in between ) ? 

BTW, when I looked up the source code, I found html tags for the form are dd, 
dt, dl etc. How can I change them to table style tags? like tr, th, td etc .

Thanks.

Jason.




   
-
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.

Re: [fw-general] How to Debug

2008-02-24 Thread Jason Qi
May not, see here:

http://www.zend.com/products/studio/studio55

It says 5.5.1 new support for php 5.2.5

I think you have to upgrade your Zend Studio.

Jason.

P.S. if Zend can give all the ZF contributors some discount(or free -:)) on 
these debug products, that would be great.

Jora <[EMAIL PROTECTED]> wrote: 
Zend Studio 5.5.0
Is that OK?


qry wrote:
> 
> What's your Zend Studio version?
> 
> Zend Platform 3.5 + Zend Studio 5.5.1 can support PHP5.2.5 for sure.
> 
> Jason.
> 
> Jora  wrote: 
> PHP5.2.5+MySQL, using Zend Framework.
> It seems that Zend Studio doesn't support PHP5.2.
> How can I do step by 
> step
> debugging?
> 
> Thanks,
> Jora
> -- 
> View this message in context:
> http://www.nabble.com/How-to-Debug-tp15674161s16154p15674161.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
> 
> 
> 
>
> -
> Looking for last minute shopping deals?  Find them fast with Yahoo!
> Search.
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-Debug-tp15674161s16154p15674432.html
Sent from the Zend Framework mailing list archive at Nabble.com.



   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: [fw-general] How to Debug

2008-02-24 Thread Jason Qi
What's your Zend Studio version?

Zend Platform 3.5 + Zend Studio 5.5.1 can support PHP5.2.5 for sure.

Jason.

Jora <[EMAIL PROTECTED]> wrote: 
PHP5.2.5+MySQL, using Zend Framework.
It seems that Zend Studio doesn't support PHP5.2.
How can I do step by step debugging?

Thanks,
Jora
-- 
View this message in context: 
http://www.nabble.com/How-to-Debug-tp15674161s16154p15674161.html
Sent from the Zend Framework mailing list archive at Nabble.com.



   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

Re: [fw-general] Zend_Form - Problem with 'submit' button

2008-02-19 Thread Jason Qi
It did show "Login" on the button(I used ZF1.5.0pr), but after I read 
Matthiew's email(the one next to mine), I realized it is not good.
   
  Jason.

Dennis Becker <[EMAIL PROTECTED]> wrote:
  That does not work, as Matthiew also said in his answer. The only way works 
is to set not the decorators for all elements ats one (elementDecorators), you 
have to add your own decorator for each element without the 'submit' button. So 
the code expands a lot! For 5 Elements + 1 Sumbit form, you have to declare the 
decorator 5 times instead of 1 time. The 'elementDecorators' overwrite the 
spcific decorator of an element. Maybe you can change that Matthiew, like the 
behaviour of CSS, the nearest decorator definition get's chosen?



Regards
Dennis


  2008/2/19, Jason Qi <[EMAIL PROTECTED]>:  I used below two lines of code, and 
the button shows "Login"

$this->view->form = new Zend_Form(...)
$this->view->form->submit->setValue('Login');

Do I answer your question ?

Jason.  

Dennis Becker <[EMAIL PROTECTED]> wrote:  But what if I don't want to use 
'label' at the submit button? I only want to use 'value'.

  2008/2/19, Matthew Weier O'Phinney <[EMAIL PROTECTED]>:
-- Dennis Becker <[EMAIL PROTECTED]> wrote
(on Tuesday, 19 February 2008, 01:54 PM +0100):
> I have created a small form for testing the new Zend_Form component. Can 
> anyone
> tell me, why I cannot set the "value" property for a 'submit' button? Instead,
> the 'submit' button uses the value for 'label' and I cannot deactive the label
> for 'submit'. For me it looks like a bug, but I'm not sure.

This is by design.

We use the label of the element, as this is what is *displayed* to the
end user. It also allows us to check the submitted value against the
label to determine (a) if the given submit button was used, and/or (b)
if somebody's potentially monkeying with the form. As an example,
Zend_Form_Element_Submit::isChecked() checks the submitted value
against the label, for instance; if they match, isChecked() returns
true.

--
Matthew Weier O'Phinney
PHP Developer| [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

  
  
-
  Looking for last minute shopping deals? Find them fast with Yahoo! Search.  




   
-
Never miss a thing.   Make Yahoo your homepage.

Re: [fw-general] Zend_Form - Problem with 'submit' button

2008-02-19 Thread Jason Qi
I used below two lines of code, and the button shows "Login"

$this->view->form = new Zend_Form(...)
$this->view->form->submit->setValue('Login');

Do I answer your question ?

Jason.

Dennis Becker <[EMAIL PROTECTED]> wrote: But what if I don't want to use 
'label' at the submit button? I only want to use 'value'.

 2008/2/19, Matthew Weier O'Phinney <[EMAIL PROTECTED]>:
-- Dennis Becker <[EMAIL PROTECTED]> wrote
(on Tuesday, 19 February 2008, 01:54 PM +0100):
 > I have created a small form for testing the new Zend_Form component. Can 
 > anyone
> tell me, why I cannot set the "value" property for a 'submit' button? Instead,
> the 'submit' button uses the value for 'label' and I cannot deactive the label
 > for 'submit'. For me it looks like a bug, but I'm not sure.

This is by design.

We use the label of the element, as this is what is *displayed* to the
end user. It also allows us to check the submitted value against the
 label to determine (a) if the given submit button was used, and/or (b)
if somebody's potentially monkeying with the form. As an example,
Zend_Form_Element_Submit::isChecked() checks the submitted value
against the label, for instance; if they match, isChecked() returns
 true.

--
Matthew Weier O'Phinney
PHP Developer| [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/ 

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

Re: [fw-general] Zend_Form now in core!

2008-02-18 Thread Jason Qi
Great job Matthew and other people who involved in!

I've already used Zend_form in my project with Zend_View and Zend_layout, it 
worked perfectly to fit what I needed.

But sad to me, the coming documents are too big, I need more time to translate. 
-:)

Jason.


Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: Greetings all!

I'm happy to report that Zend_Form is now in core! This means you will
no longer need to use the incubator view helper path if you've been
using SVN, and also that you can be fairly assured that the API will not
change much between now and the final 1.5.0 release.

If you have *not* tried Zend_Form yet, and wish to do so, you can get a
snapshot on-demand via Fisheye. Navigate to:

http://framework.zend.com/fisheye/browse/Zend_Framework/trunk/library

and then, in the lower left sidebar, you'll see a box labelled,
"Tarball;" select your favorite format (zip, tgz, tbz2), and wait for
the download.

Thanks, everyone, for the numerous issue reports and feature requests
over the past weeks -- I think the result is a very strong component
that will suit many people's form needs.

-- 
Matthew Weier O'Phinney
PHP Developer| [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/


   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

Re: [fw-general] Zend _Acl Adding resource question

2008-02-12 Thread Jason Qi
go here
http://www.zend.com/en/resources/webinars/framework

to see Darby's Webinar

Hope this helps

Jason.

Garri Santos <[EMAIL PROTECTED]> wrote: Good Day,

I have implemented a modular directory structure.

modules/
admin/
controllers/
IndexController.php
default/
controllers/
IndexController.php

How do I add them as a resource to Zend_Acl?

Cheers,
Garri


   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: [fw-general] Re: Documentation on framework site

2008-02-05 Thread Jason Qi
Ok, thanks Thomas,

I can fix these minor errors in both en and zh documents upon my user rights.
>From you reply,  there is no standards for the doc internal links, I'd like to 
>continue my way to fix them.

Cheers!

Jason.
Thomas Weidner <[EMAIL PROTECTED]> wrote: As these ID's you are referring are 
just for internal linking and not 
displayed external generally it should be no problem.
Also it's sometimes hard to name such internal links when the name is good 
for 2 examples showing the same in 2 ways... but feel free to rename them, 
as long as you also rename all other languages. Docu maintainers tend to 
forget renaming the links because they are not translated :-)
Or create an jira issue with the links and the new naming... it will be 
fixed by me from time to time for all languages.

But I don't think that we need a documentation standard just for internal 
links or headers.

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

- Original Message - 
From: "Jason Qi" 
To: "Zend Mailing List" 
Sent: Wednesday, February 06, 2008 6:15 AM
Subject: Re: [fw-general] Re: Documentation on framework site


> BTW, do we have the document standard, such as name convention,  intent 
> other than DTD docbook ?
>
> i.g.
>
> sometime when I do "make check", there are some minor error message that 
> indicated duplicated ID names. I saw someone correct it by put a 
> number(and/or alphabet)  suffix, like "samename-1" or "samename-1a" etc. I 
> used my way to correct it by according their contexts.
>
> I believe it is better we have such a document standard to accommodate the 
> increasing documents.
>
> Maybe there is a standard(like code standard) that I did not know ?
>
> Just my 2c.
>
> Jason.
>
>
> Eric Coleman  wrote: Why not use a version number in 
> the url?
>
> Or, what about putting some kind of "version" number information into
> the docbook data?  that way a component can specify what version it
> was introduced, etc... would be nice :-d
>
> Regards,
> Eric
>
> On Feb 5, 2008, at 10:03 PM, Simon Mundy wrote:
>
>> Heh, yeah I _would_ ... but I know nothing about how the manual gets
>> from the repository to the website :)
>>
>> I'll wait to see if any of the existing maintainers put their hand
>> up and if not then we'll put a prop up on the wiki post-1.5
>>
>> Cheerio
>>
>>> To be honest, IMO the documentation situation is far from ideal right
>>> now, and I can definitely see your point. On the other hand, 1.5. ;)
>>> Have you considered putting together a proposal and reviewing what
>>> changes would be required to our release process and build scripts?
>>> As
>>> I'm sure you've noticed, Simon, the best way to get something done in
>>> framework is to do as much as you can yourself without blocking on
>>> any
>>> Zend involvement. :D Let me know what I can do to help you here, and
>>> keep in mind that you might get more traction after 1.5 drops.
>>>
>>> Thanks.
>>> ,Wil
>>>
>>>> -Original Message-
>>>> From: Simon Mundy [mailto:[EMAIL PROTECTED]
>>>> Sent: Tuesday, February 05, 2008 6:39 PM
>>>> To: Wil Sinclair
>>>> Cc: Zend Mailing List
>>>> Subject: Documentation on framework site
>>>>
>>>> Hi Wil
>>>>
>>>> I'm not sure if this has been requested before, but would it be
>>>> possible to make it slightly clearer on the documentation pages that
>>>> the manual refers to the current trunk release of the framework?
>>>>
>>>> If not that then perhaps hold back updates on the website until a
>>>> minor/major version has been released. I've seen a few cases where
>>>> people are confused as the new documentation refers to functionality
>>>> or changes that haven't yet been released to a stable version.
>>>>
>>>> Or perhaps a-la MySQL's site there could be a browseable-by-version
>>>> page on the site? I'm not sure how automated the current process
>>>> is so
>>>> hope I'm not asking for a biggy here :)
>>>>
>>>> --
>>>>
>>>> Simon Mundy | Director | PEPTOLAB
>>>>
>>>> """ " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "
>>>>
>>>> 202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
>>>> Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654
>>>> 4124
>>>> http://www.peptolab.com
>>>
>>
>> --
>>
>> Simon Mundy | Director | PEPTOLAB
>>
>> """ " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "
>>
>> 202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
>> Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654
>> 4124
>> http://www.peptolab.com
>>
>
>
>
>
> -
> Never miss a thing.   Make Yahoo your homepage. 



   
-
Never miss a thing.   Make Yahoo your homepage.

Re: [fw-general] Re: Documentation on framework site

2008-02-05 Thread Jason Qi
BTW, do we have the document standard, such as name convention,  intent other 
than DTD docbook ?

i.g.

sometime when I do "make check", there are some minor error message that 
indicated duplicated ID names. I saw someone correct it by put a number(and/or 
alphabet)  suffix, like "samename-1" or "samename-1a" etc. I used my way to 
correct it by according their contexts. 

I believe it is better we have such a document standard to accommodate the 
increasing documents.

Maybe there is a standard(like code standard) that I did not know ?

Just my 2c.

Jason.


Eric Coleman <[EMAIL PROTECTED]> wrote: Why not use a version number in the url?

Or, what about putting some kind of "version" number information into  
the docbook data?  that way a component can specify what version it  
was introduced, etc... would be nice :-d

Regards,
Eric

On Feb 5, 2008, at 10:03 PM, Simon Mundy wrote:

> Heh, yeah I _would_ ... but I know nothing about how the manual gets  
> from the repository to the website :)
>
> I'll wait to see if any of the existing maintainers put their hand  
> up and if not then we'll put a prop up on the wiki post-1.5
>
> Cheerio
>
>> To be honest, IMO the documentation situation is far from ideal right
>> now, and I can definitely see your point. On the other hand, 1.5. ;)
>> Have you considered putting together a proposal and reviewing what
>> changes would be required to our release process and build scripts?  
>> As
>> I'm sure you've noticed, Simon, the best way to get something done in
>> framework is to do as much as you can yourself without blocking on  
>> any
>> Zend involvement. :D Let me know what I can do to help you here, and
>> keep in mind that you might get more traction after 1.5 drops.
>>
>> Thanks.
>> ,Wil
>>
>>> -Original Message-
>>> From: Simon Mundy [mailto:[EMAIL PROTECTED]
>>> Sent: Tuesday, February 05, 2008 6:39 PM
>>> To: Wil Sinclair
>>> Cc: Zend Mailing List
>>> Subject: Documentation on framework site
>>>
>>> Hi Wil
>>>
>>> I'm not sure if this has been requested before, but would it be
>>> possible to make it slightly clearer on the documentation pages that
>>> the manual refers to the current trunk release of the framework?
>>>
>>> If not that then perhaps hold back updates on the website until a
>>> minor/major version has been released. I've seen a few cases where
>>> people are confused as the new documentation refers to functionality
>>> or changes that haven't yet been released to a stable version.
>>>
>>> Or perhaps a-la MySQL's site there could be a browseable-by-version
>>> page on the site? I'm not sure how automated the current process  
>>> is so
>>> hope I'm not asking for a biggy here :)
>>>
>>> --
>>>
>>> Simon Mundy | Director | PEPTOLAB
>>>
>>> """ " "" "" "" "" """ " "" " " " "  "" "" "
>>>
>>> 202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
>>> Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654
>>> 4124
>>> http://www.peptolab.com
>>
>
> --
>
> Simon Mundy | Director | PEPTOLAB
>
> """ " "" "" "" "" """ " "" " " " "  "" "" "
>
> 202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
> Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654  
> 4124
> http://www.peptolab.com
>



   
-
Never miss a thing.   Make Yahoo your homepage.

[fw-general] Please check your docs before commit

2008-01-28 Thread Jason Qi
Hi All,

If you make English documents, please check if there any errors message by the 
command of "make check".

Because the English documents are the source, if they are wrong, then all the 
translated documents will be following. 

Thanks.

Jason.

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

[fw-general] About docment compiling

2007-12-28 Thread Jason Qi
Hi Darby,

There is a problem for some documents. Here, I use one example:

In file Zend_Currency-Useage.xml, line 11 to line 36

It is a  tag and there is also a  tag inside.

When I issued command like:

make XMLFILE=Zend_Currency-Useage.xml check1

I would get


_temp_Zend_Currency-Useage.xml:54: element example: validity error : Element 
example content does not follow the DTD, expecting (blockinfo? , (title , 
titleabbrev?) , (calloutlist | glosslist | bibliolist | itemizedlist | 
orderedlist | segmentedlist | simplelist | variablelist | literallayout | 
programlisting | programlistingco | screen | screenco | screenshot | synopsis | 
cmdsynopsis | funcsynopsis | classsynopsis | fieldsynopsis | 
constructorsynopsis | destructorsynopsis | methodsynopsis | formalpara | para | 
simpara | address | blockquote | graphic | graphicco | mediaobject | 
mediaobjectco | informalequation | informalexample | informalfigure | 
informaltable | indexterm | beginpage | procedure)+), got (title para 
programlisting note )

--

This means that this document(Zend_Currency-Useage.xml) did not follow the DTD 
rule, 

When I moved  tag out of the  tag, this error message had gone.

So, there will be two solutions 

1) modify the DTD rule to allow  tag reside in  tag
2) move all  tag out from  tag in all the documents involved.

I prefer 1), but I could not find where to modify the rule.

Could you help me to find it? or you have another solution?

Thanks.

Jason.







   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

Re: [fw-general] SVN server has problem?

2007-12-23 Thread Jason Qi
It is ok now.

Don't know what happened

Jason.

Jason Qi <[EMAIL PROTECTED]> wrote: Hi All,

It said this file

E:\ZendFramework-trunk\incubator\tests\Zend\Service\Technorati\_files\TestBlogPostTagsError.xml

was not under version control.

Even I deleted all files under \_files\ and did update, did not work.
Cleanup stopped and gave error message that "it was not under version control" 

If it is not under version control, where does it come from ? I am sure I 
deleted the whole folder of \_files.

Anyone know what the problem is?

Thanks and Happy Holiday!

Jason.





-
Be a better friend, newshound, and  know-it-all with Yahoo! Mobile.  Try it now.

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

[fw-general] SVN server has problem?

2007-12-23 Thread Jason Qi
Hi All,

It said this file

E:\ZendFramework-trunk\incubator\tests\Zend\Service\Technorati\_files\TestBlogPostTagsError.xml

was not under version control.

Even I deleted all files under \_files\ and did update, did not work.
Cleanup stopped and gave error message that "it was not under version control" 

If it is not under version control, where does it come from ? I am sure I 
deleted the whole folder of \_files.

Anyone know what the problem is?

Thanks and Happy Holiday!

Jason.




   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

[fw-general] Need help on document compiling

2007-12-19 Thread Jason Qi
Hi All,

Haohappy sent email and asked me about the compiling Simplified Chinese 
documents. I realized I had made a mistake on compiling the documents. I 
apologize to Darby, Mikespook, Developworker and others who saw my email.I gave 
you guys the wrong message.
-
Before the ZF1.03 issued, I only copied /manual/zh folder to my linux box, even 
there were some warning messages, the system did not stop, I thought I compiled 
them right and assumed the unfinished translation caused the warning messages. 
I did not realized the xi:fallback would use the corresponding  English version 
 to replace it. So the Simplified Chinese translation is not intact.

But if I compile it with English version, it will stop and get the error 
message that Darby gave me before.   

My system is CentOS 4.5 or 5.0
-

To narrow the problem, Haohappy suggested just check one file.

When I issued the command of

 make XMLFILE=Zend_Controller-Router.xml check1

 in /manual/zh 
I would get error message like:
--
[EMAIL PROTECTED] zh]# make XMLFILE=Zend_Controller-Router.xml check1

Checking Zend_Controller-Router.xml with /usr/bin/xmllint...
_temp_Zend_Controller-Router.xml:19: element sect1: validity error : No 
declaration for attribute xmlns:xi of element  sect1
" id="zend.controller.router" xml:base="module_specs/Zend_Controller-Router.xml"
   ^
_temp_Zend_Controller-Router.xml:704: element xref: validity error : IDREF 
attribute linkend references an unknown ID  
"zend.controller.request.http.baseurl"

^
_temp_Zend_Controller-Router.xml:19: element sect1: validity error : No 
declaration for attribute xmlns:xi of element  sect1
_temp_Zend_Controller-Router.xml:242: element xref: validity error : IDREF 
attribute linkend references an unknown ID  
"zend.controller.request.http.baseurl"
Document _temp_Zend_Controller-Router.xml does not validate
make: *** [check1] Error 3

--
I thought that  maybe some special Chinese char caused the problem. However, 
when I issued the same command in /manual/en folder, I got the similar(almost 
same) error message, like:
-
[EMAIL PROTECTED] en]# make XMLFILE=Zend_Controller-Router.xml check1
Checking Zend_Controller-Router.xml with /usr/bin/xmllint...
_temp_Zend_Controller-Router.xml:19: element sect1: validity error : No 
declaration for attribute xmlns:xi of element sect1
" id="zend.controller.router" xml:base="module_specs/Zend_Controller-Router.xml"
   ^
_temp_Zend_Controller-Router.xml:904: element xref: validity error : IDREF 
attribute linkend references an unknown ID 
"zend.controller.request.http.baseurl"

^
_temp_Zend_Controller-Router.xml:19: element sect1: validity error : No 
declaration for attribute xmlns:xi of element sect1
_temp_Zend_Controller-Router.xml:311: element xref: validity error : IDREF 
attribute linkend references an unknown ID 
"zend.controller.request.http.baseurl"
Document _temp_Zend_Controller-Router.xml does not validate
make: *** [check1] Error 3
[EMAIL PROTECTED] en]#
--

The most weired thing is, even though, the link of  
"zend.controller.request.http.baseurl" works in both English and Chinese 
documents.

Can anyone help me out?

Thanks in advanced!

Jason.





   
-
Never miss a thing.   Make Yahoo your homepage.

[fw-general] About the translation

2007-12-18 Thread Jason Qi
Hi All,

While I translating the documents, I found sometime I need add more notes or 
examples so that it will help people who speak my language grab the meaning 
better. But if I do so, it will be not exactly consistent with their English 
version.

May I build a website and put 3 copies of the documents, one English, one my 
language, and one my language with extra notes and examples.

Or anyone has better idea about this?

Jason.

   
-
Never miss a thing.   Make Yahoo your homepage.

Re: [fw-general] "make check" errors in English Documents

2007-08-19 Thread Jason Qi
I found in these 4 files, in the first line, there is
a extra stuff of
"xmlns:xi="http://www.w3.org/2003/XInclude";

so that it looks like

http://www.w3.org/2003/XInclude";>

But others only have  in
the first line.

I guess these cause the problem.

Regards,

Jason.

--- Jason Qi <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> The message looks like
> 
> element sect1: validity error: no declaration for
> attribute xmlns:xi of element sect1
> "id="zend.controller.router"
> xml:base="module_spaces/Zend_Controller-Router.xml"
> 
> 
> And other 3 files have the same messages, they are:
> 
> Zend_Controller-ActionHelper.xml
> Zend_Controller-Plugins.xml
> Zend_Validate-Set.xml
> 
> I believe they could happen in the corresponding
> translations. 
> 
> Regards,
> 
> Jason 
> 
> 
> 
> 
> 
>
>
Ready
> for the edge of your seat? 
> Check out tonight's top picks on Yahoo! TV. 
> http://tv.yahoo.com/
> 



   

Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  


[fw-general] "make check" errors in English Documents

2007-08-18 Thread Jason Qi
Hi all,

The message looks like

element sect1: validity error: no declaration for
attribute xmlns:xi of element sect1
"id="zend.controller.router"
xml:base="module_spaces/Zend_Controller-Router.xml"


And other 3 files have the same messages, they are:

Zend_Controller-ActionHelper.xml
Zend_Controller-Plugins.xml
Zend_Validate-Set.xml

I believe they could happen in the corresponding
translations. 

Regards,

Jason 





   
Ready
 for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/


Re: [fw-general] Spam for Canadian Pharmacy

2007-08-09 Thread Jason Qi
The best way to stop spam is not replying or sending
any email to them, otherwise, they are very happy to
know we are the right target. Most of time, they are
mail scripts,if they get replied email, they will send
more.

The only thing we can do it ban the email by removing
it from the mail list and put it in the block list( I
believe you have already done that).

I know there are some websites dedicated for antispam,
but I can't remember the urls. Can anybody give some
clues about it?

Jason.



--- Bill Karwin <[EMAIL PROTECTED]> wrote:

> I have sent an email to the Canadian Pharmacy to ask
> them to stop
> sending spam to all @lists.zend.com.  I know it's
> unlikely to stop the
> spam, but it's worth an email.
> 
> Bill
> 



  

Shape Yahoo! in your own image.  Join our Network Research Panel today!   
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 




[fw-general] Yahoo email problem

2007-07-25 Thread Jason Qi
Hi All,

Since yesterday, all emails from ZF mail list went to
my Yahoo! bulk box. 

Does any of you encounter the same problem? Can we
tell Yahoo! stop doing it?

Jason.


   

Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433


Re: [fw-general] Password validation

2007-07-22 Thread Jason Qi
Hi Markus,

Do you think the Standard Validation Classes is useful
for you?
http://framework.zend.com/manual/en/zend.validate.set.html

Or you might write Validators yourself to fit your
needs. see here:

http://framework.zend.com/manual/en/zend.validate.writing_validators.html

Regards,

Jason.

--- Markus Wolff <[EMAIL PROTECTED]> wrote:

> Hi there,
> 
> quite often one has to make a form where a user can
> create a user 
> account. It's customary to add two password fields,
> and add a validation 
> rule so that when the entries in both fields do not
> match, an error 
> message is presented to the user.
> 
> I was searching for such a validation rule for use
> with 
> Zend_Filter_Input, but couldn't find any. Am I
> missing something? Or 
> would you guys do it entirely differently?
> 
> CU
>   Markus
> 



   

Be a better Globetrotter. Get better travel answers from someone who knows. 
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469


RE: [fw-general] Do we need Zend_Audit ?

2007-07-18 Thread Jason Qi
Thanks Michael for your idea!

I have searched RFCs but did not find any "standard" definition of "Audit", but 
there is one that discussed audit of Healthcare Applications(RFC 3881) as 
follow:
http://www.faqs.org/rfcs/rfc3881.html

It looks like what you said, integrating Audit with ACL.So, if Zend_Audit is 
needed, it should be focus on security aspect. 

Jason.
 
Michael  Raymond <[EMAIL PROTECTED]> wrote:   Hi Jason, 
  
 I can not say that it is really needed as I think most  of us agree of the 
Zend_Log capabilities should cover the needs.  
  
 However, I found that your idea interesting because of  the previous apps that 
I built required audit trails in order to pass the IT  audit policy before 
implementation. What I did was extending Zend_Log to this  purpose and add them 
to the framework I wrote for the app, and this things  getting kinda repetitive 
when developing more applications with different  busines requirements. 
  
 Zend_Audit should simplify the effort of producing  common audit trails. 
Provide it with ability to be integrated with Zend_Acl, and  extend it to a 
class that works and produces some spesific trails to  make the IT Audit folks 
happy. I would be definately use it!  
  
 Maybe somethin default like
  
 $trails =  Zend_Audit::getInstance();
 $trails->path('/path/to/trails/or/logs/dir');
 $trails->logSystemActivity();
 $trails->logCrudActivity();
 $trails->logTransactions();
 $trails->save();
  
  
 Regards,
  
 M
  

   
-
   From: Jason Qi [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 19, 2007 12:03 AM
To:fw-general@lists.zend.com
Subject: [fw-general] Do we needZend_Audit ?


   
Hi All,

I believe it will be intact if there is a Zend_Auditwork with 
Zend_Auth/Acl. However, as many of you could see there is a Zend_logdoing 
great job to track the system activities. 

Do we really needZend_Audit just because the name? or It could do some 
special job and takeadvantage of  Zend_log to simplify the development? 

Any thoughtsare very welcome!

Thanks.

Jason
  

-
   Take the Internet to Go: Yahoo!Go puts the Internetin your pocket: mail, 
news, photos & more. 
 
  --- 
 
 
 

   
-
Choose the right car based on your needs.  Check out Yahoo! Autos new Car 
Finder tool.

[fw-general] Do we need Zend_Audit ?

2007-07-18 Thread Jason Qi
Hi All,

I believe it will be intact if there is a Zend_Audit work with Zend_Auth/Acl. 
However, as many of you could see there is a Zend_log doing great job to track 
the system activities. 

Do we really need Zend_Audit just because the name? or It could do some special 
job and take advantage of  Zend_log to simplify the development? 

Any thoughts are very welcome!

Thanks.

Jason

   
-
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos & more. 

[fw-general] Fisheye stopped ?

2007-07-03 Thread Jason Qi
Thanks.

Jason. 

   
-
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. 

Re: [fw-general] Thanks to Gavin Vess

2007-04-19 Thread Jason Qi
My English may be not good enough to express my feeling this moment. But I have 
to say thank you a lot for contributing so much to this great framework. Best 
wish to you, Gavin!

Jason.

Nick Lo <[EMAIL PROTECTED]> wrote: Aside from the big stuff, I'd like to say 
thanks to Gavin for the  
bits and pieces he helped me with.

Nick

> We would like to thank Gavin Vess for his enthusiasm and contributions
> to the Zend Framework over the past months.  Gavin has left Zend
> Technologies, and we wish him well in all of his future endeavors.
>
> Gavin has served as the Zend point of contact for several key  
> components
> of the Zend Framework.  Starting now, the point of contact at Zend for
> issues related to the I18N components (Zend_Date, Zend_Locale,
> Zend_Translate, Zend_Measure, Zend_Currency) is Alexander  
> Veremyev.  The
> point of contact at Zend for issues related to Zend_Session is Darby
> Felton.  The point of contact for several utility classes  
> (Zend_Loader,
> Zend_Registry, Zend_Version, Zend_Debug) is Bill Karwin.
>
> The current status of components of Zend Framework is tracked in a
> Google spreadsheet here:
> http://spreadsheets.google.com/pub?key=pMy3PL3bQqZqlteLWg43HDg
>
> Regards,
> Bill Karwin
> Product Engineering Manager
> Zend Technologies



   
-
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.

Re: [fw-general] Doesn't php 5.2.0 support PDO for MySQL ?

2007-04-04 Thread Jason Qi
BTW, is there any option for ZFW if there is no PDO support?

Thanks.

Jason.

Jason Qi <[EMAIL PROTECTED]> wrote: Thanks Gavin,

They told me that there is a security-hole on 5.2.1 and they have no choice but 
wait for 5.2.2.

I think this is the common issue for every host. Moving to another host may not 
be a perfect solution.

Regards,

Jason.

Gavin Vess <[EMAIL PROTECTED]> wrote: Hi Jason,

There are some non-trivial bugs with 5.2.0.  My personal recommendation 
would be to use a different version of PHP.

http://framework.zend.com/wiki/x/zSM - requirements
http://framework.zend.com/wiki/x/rw0 - web  hosts

http://bugs.php.net/search.php?search_for=&boolean=1&limit=10&order_by=&direction=ASC&cmd=display&status=All&bug_ntype%5B%5D=Feature%2FChange+Request&bug_ntype%5B%5D=Documentation+problem&bug_ntype%5B%5D=Livedocs+problem&bug_ntype%5B%5D=Website+problem&bug_ntype%5B%5D=Systems+problem&php_os=&phpver=5.2.0&assign=&author_email=&bug_age=0
For example:
http://bugs.php.net/bug.php?id=40036

Cheers,
Gavin

Jason Qi wrote:
> Hi All,
>
> Below is the email I got from my host. I can't believe it is true.
>
> Does anybody have any idea about it?
>
> Thanks.
>
> Jason.
>
> Hello,
>
> Currently there is a problem with pdo_MySQL and php 5.2.0, and that is 
> the only version of php5 that we currently offer. We will be updating 
> to 5.2.2 if we find that it meets our standards. We are sorry for the  
> incompatability, but the versions of php that we have been able to get 
> pdo_mysql working on have major security holes that we cannot allow to be 
> on our servers. 
>
> Please let us know if you have a work around you would like us to try, 
> or if you have any further questions.
>
> Thanks,
> -Kai Meyer
> Our online Help Center is available 24/7 at:
> http://helpdesk.hostmonster.com/help
> (866)573-4678
> [EMAIL PROTECTED]
>
> 

   

-
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.

 
-
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.

Re: [fw-general] Doesn't php 5.2.0 support PDO for MySQL ?

2007-04-04 Thread Jason Qi
Thanks Gavin,

They told me that there is a security-hole on 5.2.1 and they have no choice but 
wait for 5.2.2.

I think this is the common issue for every host. Moving to another host may not 
be a perfect solution.

Regards,

Jason.

Gavin Vess <[EMAIL PROTECTED]> wrote: Hi Jason,

There are some non-trivial bugs with 5.2.0.  My personal recommendation 
would be to use a different version of PHP.

http://framework.zend.com/wiki/x/zSM - requirements
http://framework.zend.com/wiki/x/rw0 - web hosts

http://bugs.php.net/search.php?search_for=&boolean=1&limit=10&order_by=&direction=ASC&cmd=display&status=All&bug_ntype%5B%5D=Feature%2FChange+Request&bug_ntype%5B%5D=Documentation+problem&bug_ntype%5B%5D=Livedocs+problem&bug_ntype%5B%5D=Website+problem&bug_ntype%5B%5D=Systems+problem&php_os=&phpver=5.2.0&assign=&author_email=&bug_age=0
For example:
http://bugs.php.net/bug.php?id=40036

Cheers,
Gavin

Jason Qi wrote:
> Hi All,
>
> Below is the email I got from my host. I can't believe it is true.
>
> Does anybody have any idea about it?
>
> Thanks.
>
> Jason.
>
> Hello,
>
> Currently there is a problem with pdo_MySQL and php 5.2.0, and that is 
> the only version of php5 that we currently offer. We will be updating 
> to 5.2.2 if we find that it meets our standards. We are sorry for the 
> incompatability, but the versions of php that we have been able to get 
> pdo_mysql working on have major security holes that we cannot allow to be 
> on our servers. 
>
> Please let us know if you have a work around you would like us to try, 
> or if you have any further questions.
>
> Thanks,
> -Kai Meyer
> Our online Help Center is available 24/7 at:
> http://helpdesk.hostmonster.com/help
> (866)573-4678
> [EMAIL PROTECTED]
>
> 


 
-
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.

[fw-general] Doesn't php 5.2.0 support PDO for MySQL ?

2007-04-04 Thread Jason Qi

Hi All,

Below is the email I got from my host. I can't believe it is true.

Does anybody have any idea about it?

Thanks.

Jason.

Hello,

Currently there is a problem with pdo_MySQL and php 5.2.0, and that is 
the only version of php5 that we currently offer. We will be updating 
to 5.2.2 if we find that it meets our standards. We are sorry for the 
incompatability, but the versions of php that we have been able to get 
pdo_mysql working on have major security holes that we cannot allow to be 
on our servers. 

Please let us know if you have a work around you would like us to try, 
or if you have any further questions.

Thanks,
-Kai Meyer
Our online Help Center is available 24/7 at:
http://helpdesk.hostmonster.com/help
(866)573-4678
[EMAIL PROTECTED]

 
-
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.

Re: [fw-general] Zend_view or Smarty?

2007-03-26 Thread Jason Qi


You just need implement Zend_View interface to start Smarty, it is very easy to 
change back to use Zend_View even without revise any other part of your code.

Jason.


José de Menezes Soares Neto <[EMAIL PROTECTED]> wrote:   Which is the best? 
Which do you choose?  Why?
  
 I am afraid to start using SMARTY and then  ZEND_VIEW goes better...
  
 Could someone recommend one and say  why?
  
 Best regards,
  
 José


 
-
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.

Re: [fw-general] Zend_Filter_Input...

2007-03-18 Thread Jason Qi
Bill once said that until 1.0, everything could be changed. If you use ZF for 
your real product, it is better to do the final check after 1.0

Adam Balgach <[EMAIL PROTECTED]> wrote: so this functionality has gone away for 
good ?

On 3/18/07, Jason Qi <[EMAIL PROTECTED]> wrote: Please to see Rob's  Goodbye 
Zend.php

http://akrabat.com/

 Hope it helps

Jason.

Adam Balgach <[EMAIL PROTECTED] > wrote: All,

How does the functionality change from .8 -> .9 for Zend_Filter_Input...

I was using something like: 

Zend::register('post', new Zend_Filter_Input($_POST, false));
Zend::register('get', new Zend_Filter_Input($_GET, false)); 


but i see this class has gone away...


  

   

-
TV dinner still cooling?
Check out "Tonight's Picks"  on Yahoo! TV.


 

 
-
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.

Re: [fw-general] Zend_Filter_Input...

2007-03-18 Thread Jason Qi
Please to see Rob's  Goodbye Zend.php

http://akrabat.com/

Hope it helps

Jason.

Adam Balgach <[EMAIL PROTECTED]> wrote: All,

How does the functionality change from .8 -> .9 for Zend_Filter_Input...

I was using something like:

Zend::register('post', new Zend_Filter_Input($_POST, false));
Zend::register('get', new Zend_Filter_Input($_GET, false)); 


but i see this class has gone away...


 

 
-
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.

Re: [fw-general] Hosting ??

2007-03-04 Thread Jason Qi
Thanks Matthew,

I will look into it.

(Sorry to everybody that I did not read Zend_Json docs yet, I assumed that it 
need php JSON support and tried to solve it first.)

Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: -- Jason Qi  wrote
(on Sunday, 04 March 2007, 10:42 AM -0800):
> You have to make sure if it supports what you want.
> 
> i.g. my web host(bluehost.com) neither supports php5.2, nor lets me manually
> setup JSON. So, I can't use Zend_Json with my web host.

Why not? It checks to see if ext/json is present, and if not, it uses
the PHP version provided by Zend_Json_Encoder/Zend_Json_Decoder. The
entire point of Zend_Json was to provide a PHP implementation of JSON
encoding/decoding for when ext/json was not present.


> Make a list to ask them before you go next step.
> 
> Matthew Ratzloff  wrote:
> 
> Olivier,
> 
> Take a look at the wiki:
> http://framework.zend.com/wiki/display/ZFUSER/Zend+Framework+Web+Hosts
> 
> -Matt
> 
> - Original Message -
> From: "Olivier Revollat"
> To:
> Sent: Sunday, March 04, 2007 9:47 AM
> Subject: [fw-general] Hosting ??
> 
> 
> >I try to find a web hosting service who support Zend Framework (PHP5,
> > mod_rewite, PDO ...)
> > Do you have any idea ?
> > Thanks
> 
> 
> 
> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
> Never miss an email again!
> Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.

-- 
Matthew Weier O'Phinney
PHP Developer| [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/


 
-
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.

Re: [fw-general] Hosting ??

2007-03-04 Thread Jason Qi
You have to make sure if it supports what you want.

i.g. my web host(bluehost.com) neither supports php5.2, nor lets me manually 
setup JSON. So, I can't use Zend_Json with my web host.

Make a list to ask them before you go next step.

Matthew Ratzloff <[EMAIL PROTECTED]> wrote: Olivier,

Take a look at the wiki:
http://framework.zend.com/wiki/display/ZFUSER/Zend+Framework+Web+Hosts

-Matt

- Original Message - 
From: "Olivier Revollat" 
To: 
Sent: Sunday, March 04, 2007 9:47 AM
Subject: [fw-general] Hosting ??


>I try to find a web hosting service who support Zend Framework (PHP5,
> mod_rewite, PDO ...)
> Do you have any idea ?
> Thanks


 
-
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.

Re: [fw-general] Request for feedback: moving Zend.php to Zend/Zend.php

2007-02-25 Thread Jason Qi
I like this idea.

Shekar C Reddy <[EMAIL PROTECTED]> wrote: Bill,
  
 I guess this was discussed earlier and much desired. However, to work around 
the exception, could we look into renaming the Zend class to something like: 
Zend_Main  or Zend_Public or Zend_Shared or Zend_Common or Zend_General or 
Zend_Base or Zend_Core or Zend_Standard... so the name of the file would be 
just: Main.php/Public.php/Shared.php/Common.php/ 
General.php/Base.php/Core.php/Standard.php/etc sitting in the Zend folder?
  
 What do others think? Main/Public/Shared/Common/General? Votes? Ideas for more 
names...?
  
 Regards,
  
 

 
 On 2/25/07, Bill Karwin <[EMAIL PROTECTED]> wrote: Please take a look at 
http://framework.zend.com/issues/browse/ZF-958 

We propose to move Zend.php to /library/Zend/Zend.php.  The
class name would continue to be 'Zend', and we're not suggesting
changing any methods within the class.  Therefore no usage of this class 
would change.

The only change in your application would be that you need to change
this:

require_once 'Zend.php';

To this:

require_once 'Zend/Zend.php';

Alternatively, you could add the 'Zend' directory to your include_path. 

The benefit of this change is to simplify integration of a Zend
Framework tree in an application tree.  You could use svn externals, for
instance.

The disadvantage is that it does not follow the ZF convention that class 
names always match the physical location of the class file.  But this is
the only class that needs to be an exception to this convention.

I volunteer to make this change.  I'll update other classes in the ZF 
tree.  I'll write a note in the manual to tell users what they need to
do.  I'll write a docblock in Zend.php acknowledging that it is an
exception to the class-to-location convention.

If there are no strong objections, I'll make this change. 

Regards,
Bill Karwin


 

 
-
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.

Re: [fw-general] Smarty integration

2007-02-20 Thread Jason Qi
Hi,

I'd like to recommend you implement Zend_View interface instead of extend the 
abstract class and the render method can be simply like this without any 
problem:


 public function render($name)
{
return $this->_smarty->fetch($name);
}

if you look into Smarty's source code, you will find the display() method calls 
fetch() 
and prints the output.

Just my two cents.

Jason.




highland <[EMAIL PROTECTED]> wrote: 
Hello

I  created my own class extending Zend_View_Abstract and including smarty.
I wanted to be able to use smarty templates and zend render on the same
object. 
Here is my code:
class MyView extends Zend_View_Abstract
{
private $_smarty = false;

public function __construct($data = array())
{
parent::__construct($data);

$config = Zend::registry('config');

$this->_smarty = new Smarty();

$main_path = $config->path->server.$config->path->homepage; 
$this->_smarty->template_dir =
$main_path.$config->smarty->template_dir; 
$this->_smarty->compile_dir =
$main_path.$config->smarty->compile_dir;
$this->_smarty->config_dir = $main_path.$config->smarty->config_dir;
$this->_smarty->cache_dir = $main_path.$config->smarty->cache_dir;
}

protected function _run($template=null)
{   
 print parent::render($template);
}

public function display($template)
{
$this->_smarty->display($template);
}

public function assign($var, $value=null)
{
if (is_string($var))
{
$value = @func_get_arg(1);

$this->_smarty->assign($var, $value);
}
elseif (is_array($var))
{
foreach ($var as $key => $value)
{
$this->_smarty->assign($key, $value);
}
}
else
{
throw new Zend_View_Exception('assign() expects a string or
array, got '.gettype($var));
}
}

public function escape($var)
{
if (is_string($var))
{
return parent::escape($var);
}
elseif (is_array($var))
{
foreach ($var as $key => $val)
{
$var[$key] = $this->escape($val);
}

return $var;
}
else
{
return $var;
}
}

public function output($name)
{
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-cache");
header("Pragma: no-cache");
header("Cache-Control: post-check=0, pre-check=0", FALSE);

print parent::render($name);
}

public function render($name)
{
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-cache");
header("Pragma: no-cache");
header("Cache-Control: post-check=0, pre-check=0", FALSE);

print parent::render($name);
}

public function isCached($template)
{
if ($this->_smarty->is_cached($template))
{
return true;
}

return false;
}

public function setCaching($caching)
{
$this->_smarty->caching = $caching;
}
}
?>

in Controller for drawing using smarty i use:
$view->display('smarty_template.tpl')
and it works fine. But i want also to be able to use on the same $view
object
Zend render (so i could process php code), so i tried:
$view->render('zend_template.tpl.php')

But Zend returned:
Zend_View_Exception: script './application/views/zend_template.tpl.php' not
found in path in /usr/share/php/Zend/View/Abstract.php on line 571

Why ? How can i correct it ?

Thanx

-- 
View this message in context: 
http://www.nabble.com/Smarty-integration-tf3260325s16154.html#a9061125
Sent from the Zend Framework mailing list archive at Nabble.com.



 
-
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.

Re: [fw-general] Zend_Auth cored!

2007-02-15 Thread Jason Qi
Great!

What time for code frozen? 
I am afraid I don't have enough time to translate the doc.

Thanks.

Jason.

Philip Iezzi <[EMAIL PROTECTED]> wrote: Hey Darby and everbody that is involved 
in the development of Zend_Auth (can't check on that due to the JIRA hickup 
(water might help)),

I'd just like to clap hands. You have done great work!
Zend_Auth is cored! 

Thanks,
Philip


 
-
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.

Re: [fw-general] About Zend_auth

2007-02-14 Thread Jason Qi
Just a reminder, I saw Darby updated the Zend_Auth this afternoon. From now on, 
 it is singleton pattern. We have to use 

Zend_Auth::getInstance() ;

instead of 

new Zend_Auth();


Regards,

Jason.


mysticav <[EMAIL PROTECTED]> wrote: 
Great.  Thanks. Now it works. I hadn't tried it from the bootstrap

Well, Using the registry seems to be better because it's possible to access
the object from anywhere.
Using the controller,  how can you access the object (when using setParam)
within a custom class method ? Is there any other way than passing the
object as an argument to that method/constructor from the controller?

Regarding the 1st Problem, 
I was including the Classes after the session was started.

Thank you.


Regarding the First Problem.



John Reed-2 wrote:
> 
> Instantiate the authentication object and/or token object in your 
> bootstrap file, then make it available to your controller.
> 
> I do it like so (note I',, using a customer save handler here, but it's 
> not required.
> 
> /*Instantiate session handler*/  
> require_once 'Zend/Session.php';
> require_once 'ZendCustom/mySessionSaveHandler.php';
> Zend_Session::setSaveHandler(new falconSessionSaveHandler($db));
> 
> /*Instantiate Auth Object. Note: Athentication data is stored is 
> Zend_Auth session namespace by default*/
> require_once 'Zend/Auth.php';
> require_once 'ZendCustom/Auth/myToken.php';  
> require_once 'ZendCustom/Auth/myAdapter.php';
> $auth = new Zend_Auth(new Zend_Auth_My_Adapter());  
> $authToken = $auth->getToken();
> 
> Then, after the controller instance has been instantiated, I use the 
> setParam() method:
> 
> $controller->setParam('auth', $auth);
> $controller->setParam('authToken', $authToken);
> 
> Both the auth and authToken objects are now available to your controller 
> script via getInvokeArg().
> 
> Another alternative would be to store them with Zend::Register().
> 
> I'm still new to this myself, so if anyone has a more elegant solution 
> I'm all ears.
> 
> John Reed
> 
> 
> mysticav wrote:
>> I want to know how exactly should I access to the auth object in a second
>> request page:
>>
>> Example:
>>
>> Page1.php (First Request/login controller)
>> // Security_MyAuthAdapter is a custom class implementation as
>> documentation
>> suggests.
>> $auth=new Zend_Auth(new Security_MyAuthAdapter());  
>>   
>> $options = array(   
>>  'username' => 'sitar',   
>>  'password' => 'parvez'  
>> );   
>>   
>> // It returns a token instance as documentation suggests.
>> $auth->authenticate($options);
>>
>> if ($auth->isLoggedIn()) {   
>> // print $auth->getToken()->isValid(); // Prints 1. Until here
>> everything works perfect.
>> }  
>>
>> Page2.php (a second request/ any other page)
>>
>> // Until this point, I should have access to the following namespace:
>>  $sess=new Zend_Sess('Zend_Auth');
>>
>> Documentation says that Zend_Auth Session contains a property token, wich
>> has a token instance.
>> So, 
>>
>> print( $sess->token->getIdentity()); //Should print "sahid" (supposing
>> the
>> Indetity was set using the username).
>>
>> Problem 1:
>> I get the following errror:
>>
>> Fatal error: . function.testAction function.testAction ]: The script
>> tried to execute a method or access a property of an incomplete object.
>> Please ensure that the class definition "Security_MyAuthToken"
>> of
>> the object you are trying to operate on was loaded _before_ unserialize()
>> gets called or provide a __autoload() function to load the class
>> definition
>> in ..
>>
>> was loaded before unserialized ?
>> The thing is that the object was stored when executing Page1.php in
>> Zend_Auth Session namespace. 
>> And everything runs perfect in Page1.php (the object token is perfectly
>> accessible).
>>
>> Problem 2:
>> Supost that finally a good guy tell me how to solve this problem, so I
>> can
>> get My token everywhere in my entire application.
>>
>> My question is:
>> How can I access the $auth object created in Page1.php ?
>> I f I want to log out in Page8.php, what do I need to do ?
>>
>> What I expect is to be able to access $auth anywhere so I can just:
>> $auth->logout();
>>
>> PLEASE HELP. THE ZEND_AUTH IMPLEMENTATION IS BEAUTIFUL. I JUST NEED TO
>> DEAL
>> WITH THIS PROBLEMATIC.
>>
>> THANKS.
>>
>>
>>
>>
>>
>>   
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/About-Zend_auth-tf3230529s16154.html#a8977407
Sent from the Zend Framework mailing list archive at Nabble.com.



 
-
The fish are biting.
 Get more visitors on your site using Yahoo! Search Marketing.