Re: [fw-general] \Zend\Feed\Reader\Reader::import Error!

2012-12-31 Thread Guillaume BABIK
Happy new year ! 
Stop developping and have a drink !!!

Le 31 déc. 2012 à 22:40, benjamingb  a écrit :

> I am creating an RSS reader
> 
> I have a problem
> 
> //ZF2
> $feed=\Zend\Feed\Reader\Reader::import('http://blog.benetton.com/peru/feed/')//error
> file:
> /var/www/rss/vendor/ZendFramework/ZendFramework/library/Zend/Http/Response.php:449
> Message:
> Error parsing body - doesn't seem to be a chunked message
> 
> 
> ===
> //ZF1
> $feed=new Zend_Feed_Rss('http://blog.benetton.com/peru/feed/')//OK
> 
> Have any idea why it does not work in ZF2?
> 
> 
> 
> --
> View this message in context: 
> http://zend-framework-community.634137.n4.nabble.com/Zend-Feed-Reader-Reader-import-Error-tp4658637.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
> 
> -- 
> List: fw-general@lists.zend.com
> Info: http://framework.zend.com/archives
> Unsubscribe: fw-general-unsubscr...@lists.zend.com
> 
> 

--
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com




RE: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Guillaume BABIK
1. What OS you are using during development? Windows? Mac? Linux?
=> Windows with Wamp
2. Do you edit source code on localhost or remote? i.e. is your
testing environment reside on localhost or remote?
=> Both
3. What tool or IDE you are using? Ultraedit? Apanta? Eclipse PDT?
=> Eclipse PDT
4. Which versioning system your are using? svn? git?
=> SVN
5. Do you use PHPUnit or other testing tools?
=> PHPUnit but not as much as I should.

Guillaume BABIK
INTERNIM
45, rue Aristide Briand
92300 LEVALLOIS
Tel : 01.40.87.11.20
Fax : 01.47.57.38.87
Mobile : 06.80.21.90.29
http://www.internim.com

---
Please consider our environmental responsibility before printing this
e-mail.

---


-Message d'origine-
De : howard chen [mailto:howac...@gmail.com] 
Envoyé : samedi 2 mai 2009 19:14
À : Zend Framework General
Objet : [fw-general] Survey: Development environment for PHP/ZFW

Please feel free to answer:

1. What OS you are using during development? Windows? Mac? Linux?
2. Do you edit source code on localhost or remote? i.e. is your
testing environment reside on localhost or remote?
3. What tool or IDE you are using? Ultraedit? Apanta? Eclipse PDT?
4. Which versioning system your are using? svn? git?
5. Do you use PHPUnit or other testing tools?

p.s. have a good day.



RE: [fw-general] How to rename the uploaded file

2009-02-25 Thread Guillaume BABIK
Hi,

In your action that receive your form :

$form = new Your_Form();

$formData = $this->_request->getPost();

if ($form->isValid($formData)) {
// Uploading File
if ($form->g_nuotrauka->receive()) {
$locationFile = $form->g_nuotrauka->getFileName();

$currentMicroTime = Internim_Date::getMicrotime();
$nameFile = $currentMicroTime.'.jpg';
$fullPathNameFile = '/images/'.$nameFile;

// Renommage du fichier
$filterRename   = new Zend_Filter_File_Rename(array('target'
=> $fullPathNameFile, 'overwrite' => true));
$filterRename->filter($locationFile);
}
}

The getMicroTime method : 

class Internim_Date
{   public static function getMicrotime()
{
list($usec, $sec) = explode(" ", microtime());
    return ((float)$usec + (float)$sec);
}
}

Hope it helps,

Cheers,

Guillaume BABIK
INTERNIM
45, rue Aristide Briand
92300 LEVALLOIS
Tel : 01.40.87.11.20
Fax : 01.47.57.38.87
Mobile : 06.80.21.90.29
http://www.internim.com


-Message d'origine-
De : Mantasgl [mailto:manta...@gmail.com] 
Envoyé : mercredi 25 février 2009 15:14
À : fw-general@lists.zend.com
Objet : [fw-general] How to rename the uploaded file


hi,
I'm trying to rename the uploaded file, but nothing works for me. Do i need
to rename the file before or after upload?. I try to change the name to
"time().jpg", to keep file names unique. After that I want to store file
name in the mysql DB.

I'm using zf 1.7.4

My source:
$element = new Zend_Form_Element_File('g_nuotrauka');
$element->setLabel('Nuotrauka:')
->setDestination(APPLICATION_PATH.'\images')
->addValidator('Count', false, 1) 
->addValidator('Size', false, 204800) 
->addValidator('Extension', false, 'jpg,png,gif')
->setDecorators($this->_standardElementDecorator);
$this->addElement($element, 'g_nuotrauka');

I tried to use addFilter('Rename') in file element and in my controller, but
nothing worked out.
What i'm dooing wrong?

-- 
View this message in context:
http://www.nabble.com/How-to-rename-the-uploaded-file-tp22203609p22203609.ht
ml
Sent from the Zend Framework mailing list archive at Nabble.com.



RE: [fw-general] Framework directory structure and include paths

2009-02-13 Thread Guillaume BABIK
Hi,

Personally, i use: 

/library
/Zend => Zend Framework
/MyPersonalLibrary
/applications
/application1
/controllers
/forms
/views
/helpers => Helper_View
/layouts
/scripts => Views
/controller1
/controller2
/application2
/...
/config => Config file in XML
/models
/www
/application1 => public_html of application1
/application2 => public_html of application2



In my bootstrap (for example : application1), I only have to add : 

set_include_path('.'
. PATH_SEPARATOR . realpath(dirname(__FILE__) . '/../../library')
. PATH_SEPARATOR . realpath(dirname(__FILE__) . '/../../models/')
. PATH_SEPARATOR . realpath(dirname(__FILE__) . 
'/../../applications/application1/')
. PATH_SEPARATOR . realpath(dirname(__FILE__) . '/../../config/')
. PATH_SEPARATOR . get_include_path());

In that case, you don't have to add any other include paths.

Hope it helps,

Cheers,

Guillaume BABIK
INTERNIM
45, rue Aristide Briand
92300 LEVALLOIS
Tel : 01.40.87.11.20
Fax : 01.47.57.38.87
Mobile : 06.80.21.90.29
http://www.internim.com


-Message d'origine-
De : Jason DeBord [mailto:jasdeb...@gmail.com] 
Envoyé : vendredi 13 février 2009 19:07
À : fw-general@lists.zend.com
Objet : [fw-general] Framework directory structure and include paths

Directory Structure

Project

  Application
controllers
views
models
layouts
forms

  Library
symlink to Zend

  public_html

So I set my include path to Project/library so The Framework is
included. I am thinking that it makes sense to put classes for the
database or other "model" type stuff into the models directory and
classes for forms in the "forms" directory.

Questions

1) Does this file structure make sense?
2) How are you guys setting up your directory structures?
3) Is it correct that I will have to add include paths for any
directories I want to put classes in? ( models and forms in my
structure above )
4) I don't want any more include paths than absolutely necessary,
right? So what is the most logical / efficient way to set this up?

Thanks!
Jason DEBORD
Limoges, France



[fw-general] Best practice about a usage

2009-01-06 Thread Guillaume BABIK
Hi,

 

I've got a script which generate a group of directories from a name file

Ex: 12345678.jpg => /1234/5678/

 

This script can be called from many places in my ZF application

 

I am looking for the best practice to implement this script in my ZF
application.

 

Lots of possibilities: 

- Case I : In a Model file: But my script is not associated to a
single model.

- Case II : In a static method in a class like My_Function_Library
(In order to be simply called by Zend_Loader)

- Case III : In a simply PHP file which I includes in my Bootstrap

- => Other ideas???

 

Currently I put theses sort of scripts in statics methods in a class (Case
II)

 

But is this the Best Practice?

 

Many thanks,

 

Cheers,

 

PS: HAPPY NEW YEAR

 

Guillaume BABIK

INTERNIM

45, rue Aristide Briand

92300 LEVALLOIS

Tel : 01.40.87.11.20

Fax : 01.47.57.38.87

Mobile : 06.80.21.90.29

 http://www.internim.com/> http://www.internim.com

 



RE: [fw-general] Newbie quesiton - How do queries that join multiple tables fit into the model in the MVC

2008-12-10 Thread Guillaume BABIK
Hi,

 

You could use a Zend_Db_Select object associated to your Zend_Db_Table
object.

 

For exemple: 

You have 3 tables (T1, T2, T3).

You want to access T1's fields but you need to join T2 and T3.

In your Zend_Db_Table T1, add this method: 

public static function getT1List() {

 $select = self::getInstance()->select(); 

 $select->setIntegrityCheck(false);

 $select->from(self::getInstance());

 $select->join('T2', 'T1.id_T2 = T2.id_T2', array('your fied's list
from T2 comma separated'));

 $select->join('T3', 'T1.id_T3 = T3.id_T3', array('your fied's list
from T3 comma separated'));

 return self::getInstance()->fetchAll($select);

}

 

The using of static function is not necessary.

 

The command: self::getInstance() is a method's call :

public static function getInstance() {

 if(!isset(self::$instance)) self::$instance = new T1();

 return self::$instance;

}

 

Regards,

Guillaume BABIK

INTERNIM

45, rue Aristide Briand

92300 LEVALLOIS

Tel : 01.40.87.11.20

Fax : 01.47.57.38.87

Mobile : 06.80.21.90.29

 http://www.internim.com/> http://www.internim.com

 



RE: [fw-general] FCKEditor and Zend_Form integration

2008-09-26 Thread Guillaume BABIK
Hi,

 

In my projects using FCKEditor, I created a View's Helper that renders FCK
Editor.

 

I just applied or not this helper on a Zend_Form_Element_Textarea to use
FKCeditor.

 

My View's Helper is : 

/**

  * Constructor

  *

  * @access public

  * @param string $xhtml balise textarea

  * @param string $id ID de la balise textarea

  * @return string 

  */

 public function TextareaFCK($xhtml, $id)

 {

return $xhtml . ' $(function(){
$(\'textarea#'.$id.'\').fck({path: \'/fckeditor/\',
toolbar:\'Toolbar_Name\', width:\'520px\', height:\'300px\'}); });
';

 }

 

In a view :

TextareaFCK($this->form->getElement('nameField'), '
nameField '); ?>

 

I.E. : I use JQuery's FCKEditor version.

 

Hope it's help.

 

Regards,

 

Guillaume BABIK

INTERNIM

45, rue Aristide Briand

92300 LEVALLOIS

 http://www.internim.com/> http://www.internim.com

 

-Message d'origine-
De : drj201 [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 26 septembre 2008 15:42
À : fw-general@lists.zend.com
Objet : [fw-general] FCKEditor and Zend_Form integration

 

 

Hi all,

 

I want to integrate FCKEditor (WYSIWYG) into a Zend_Form thus bringing all

the benefits that allows...

 

Note: Im not talking of simply getting FCKEditor to work in the view etc

(ala here:

http://blog.ekini.net/2007/11/28/using-fckeditor-with-zend-framework-file-br
owser-enabled/#comments)

but actually integrating it into Zend_Form.

 

Has anyone done this before? What would be your recommended approach? Is it

even possible without  investing 100's of man hours and hacking the

framework to death? :-(

 

I first thought of simply dumping the HTML required by FCKEditor into a

decorator but this is not the answer.

 

I then thought of creating a new Zend_Form_Element and overwriting the

render method to simply return the HTML like so:

 

  public function render(Zend_View_Interface $view = null)

  {



$oFCKeditor = new FCKeditor_FCKeditor('FCKeditor1');

$oFCKeditor->BasePath = '/js/FCKeditor/';

$oFCKeditor->Value = $this->getValue();

  

return $oFCKeditor->CreateHtml();



  } 

 

Neither of the above provide any real integration with Zend_Form however!

Using the above method for example it is not possible to wrap the element in

Decorators or add a Label. It also doesnt provide integration when using

$form->getValues(). The FCKEditor form field only shows in $_POST.

 

Maybe a ViewScript Decorator is the answer? Wait for the Editor Dijit (even

though it is nowhere as comprehensive)?

 

What would you guys suggest?

 

Regards,

 

David

-- 

View this message in context:
http://www.nabble.com/FCKEditor-and-Zend_Form-integration-tp19688738p1968873
8.html

Sent from the Zend Framework mailing list archive at Nabble.com.



[fw-general] a different Zend_Form Directory ?

2008-09-23 Thread Guillaume BABIK
Hi all,

 

I have many Zend_Form in different applications.

 

Many of theses forms are identical.

 

So, how can I set a different form directory for an application?

 

I do the same thing with my helpers (method: addHelperPath) but I don't find
the method with Zend_Form

 

Many thanks,

Guillaume BABIK

INTERNIM

45, rue Aristide Briand

92300 LEVALLOIS

Tel/Fax : 01.40.87.11.20

Mobile : 06.80.21.90.29

 http://www.internim.com/> http://www.internim.com

 



RE: [fw-general] Zend_Form and Zend_Form_Decorator question

2008-08-13 Thread Guillaume BABIK
No, I use the default view helper.

 

In fact, I never need to change the default view helper.

 

 

Guillaume BABIK

INTERNIM

45, rue Aristide Briand

92300 LEVALLOIS

Tel/Fax : 01.40.87.11.20

Mobile : 06.80.21.90.29

 http://www.internim.com/> http://www.internim.com

 

-Message d'origine-
De : till [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 13 août 2008 16:59
À : Guillaume BABIK
Cc : fw-general@lists.zend.com
Objet : Re: [fw-general] Zend_Form and Zend_Form_Decorator question

 

On Wed, Aug 13, 2008 at 10:55 AM, Guillaume BABIK

<[EMAIL PROTECTED]> wrote:

> (...)

> The render is:

> 

> E-mail : name="email" id="email" value="">

> 

> 

> But I would like this render:

> 

> E-mail : name="email" id="email" value="">

 

Did you set the doctype using the view helper?

 

<http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helper
s.initial.doctype>

 

Till



[fw-general] Zend_Form and Zend_Form_Decorator question

2008-08-13 Thread Guillaume BABIK
Hi all,

 

I have a little problem with Zend_Form and the decorators.

 

I created a Form which extend Zend_Form

 

In this form, I created an Email Element with the following code: 

..

$emailField = new Zend_Form_Element_Text('email');

$emailField->setLabel('E-mail :')

   ->setRequired(true)

   ->setAllowEmpty(false)

$this->addElement($emailField);

$emailField->setDecorators(array('ViewHelper', array('HtmlTag', 'Label'));

...

 

In my view, I use the following code: 

form->getElement('email') ?>

 

The render is: 

E-mail :

 

 

I am trying to add a  tag between the label and the input element

 

With the Decorator: 

$emailField->setDecorators(array('ViewHelper', array('HtmlTag', array('tag'
=> 'br')), 'Label'));

 

The render is: 

E-mail :

 

 

But I would like this render: 

E-mail :

 

 

I don't know how to simply add a tag (i.e. )

 

Is there anyone could help me?

 

Many thanks,

Guillaume BABIK

INTERNIM

45, rue Aristide Briand

92300 LEVALLOIS

Tel/Fax : 01.40.87.11.20

Mobile : 06.80.21.90.29

 http://www.internim.com/> http://www.internim.com

 



RE: [fw-general] DB connection params

2008-06-30 Thread Guillaume BABIK
This is only a personal preference.

Maybe there are pretty differences between the two methods.

I don't know.

Guillaume BABIK
INTERNIM
74, rue Baudin
92300 LEVALLOIS
FRANCE
Tel/Fax : 01.40.87.11.20
Mobile : 06.80.21.90.29
http://www.internim.com


-Message d'origine-
De : Tom Printy [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 30 juin 2008 16:19
À : Guillaume BABIK
Cc : fw-general@lists.zend.com
Objet : RE: [fw-general] DB connection params

Thanks this is exactly what I was looking for!!! Is the config XML
preferred over the the config ini, or is this a personal prefrence?

-Tom



On Mon, 2008-06-30 at 10:41 +0200, Guillaume BABIK wrote:
> Hi,
> 
> 1st Step: 
>   Store your DB parameters in a configuration file.
>   Typically, I store theses parameters in a config.xml file (in
> /configs directory)
>   The XML content could be : 
>   
>   Pdo_Pgsql
>   
>   localhost
>   postgres
>
>   db_name
>   
>   
> 
> 2nd Step:
> In your bootstrap, load the configuration file
> $frontofficeConfig = new Zend_Config_Xml('../../configs/config.xml', '');
> Zend_Registry::set('frontofficeConfig', $frontofficeConfig);
> => I often put this configuration in the Zend Registry in order to access
> everywhere in my application.
> 
> Final Step: The connection
> In your bootstrap, create your connection, store it in the Zend Registry
and
> you'll be able to use it everywhere in your application
> The code could be:
> 
> try {
>   $objDbSource = Zend_Db::factory($frontofficeConfig->database);
>   $objDbSource->getConnection();
>   $objDbSource->setFetchMode(Zend_Db::FETCH_OBJ);
>   Zend_Registry::set('objDbSource', $objDbSource);
> } catch (Zend_Db_Adapter_Exception $e) {
>   // perhaps a failed login credential, or perhaps the RDBMS is not
> running
>   throw new Exception('Fatal Error : Unable to connect to Database
> Server', $e);
> } catch (Zend_Exception $e) {
>   // perhaps factory() failed to load the specified Adapter class
>   throw new Exception('Fatal Error : Unable to load the Adaptater',
> $e);
> }
> 
> Kind regards,
> 
> Guillaume BABIK
> INTERNIM
> 74, rue Baudin
> 92300 LEVALLOIS
> FRANCE
> Tel/Fax : 01.40.87.11.20
> Mobile : 06.80.21.90.29
> http://www.internim.com
> 
> -Message d'origine-
> De : Tom Printy [mailto:[EMAIL PROTECTED] 
> Envoyé : samedi 28 juin 2008 21:35
> À : fw-general@lists.zend.com
> Objet : [fw-general] DB connection params
> 
> Hello,
> 
> I am just starting with the Zend framework. I am using the MVC
> fucntionality and would like to know the best practice for configuring
> and using DB connection paramaters.  I don't think I want to this in
> every function that connects to a db. 
> 
> params = array(
>   'host' => 'localhost',
>   'username' => 'postgres',
>   'password' => '',
>   'dbname' => ''
>   );
> 
>   $DB = Zend_Db::factory('pdo_pgsql', $params);
> 
> 
> 
> Thanks
> -Tom Printy
> 



RE: [fw-general] DB connection params

2008-06-30 Thread Guillaume BABIK
Hi,

1st Step: 
Store your DB parameters in a configuration file.
Typically, I store theses parameters in a config.xml file (in
/configs directory)
The XML content could be : 

Pdo_Pgsql

localhost
postgres
 
db_name



2nd Step:
In your bootstrap, load the configuration file
$frontofficeConfig = new Zend_Config_Xml('../../configs/config.xml', '');
Zend_Registry::set('frontofficeConfig', $frontofficeConfig);
=> I often put this configuration in the Zend Registry in order to access
everywhere in my application.

Final Step: The connection
In your bootstrap, create your connection, store it in the Zend Registry and
you'll be able to use it everywhere in your application
The code could be:

try {
$objDbSource = Zend_Db::factory($frontofficeConfig->database);
$objDbSource->getConnection();
$objDbSource->setFetchMode(Zend_Db::FETCH_OBJ);
Zend_Registry::set('objDbSource', $objDbSource);
} catch (Zend_Db_Adapter_Exception $e) {
// perhaps a failed login credential, or perhaps the RDBMS is not
running
throw new Exception('Fatal Error : Unable to connect to Database
Server', $e);
} catch (Zend_Exception $e) {
// perhaps factory() failed to load the specified Adapter class
throw new Exception('Fatal Error : Unable to load the Adaptater',
$e);
}

Kind regards,

Guillaume BABIK
INTERNIM
74, rue Baudin
92300 LEVALLOIS
FRANCE
Tel/Fax : 01.40.87.11.20
Mobile : 06.80.21.90.29
http://www.internim.com

-Message d'origine-
De : Tom Printy [mailto:[EMAIL PROTECTED] 
Envoyé : samedi 28 juin 2008 21:35
À : fw-general@lists.zend.com
Objet : [fw-general] DB connection params

Hello,

I am just starting with the Zend framework. I am using the MVC
fucntionality and would like to know the best practice for configuring
and using DB connection paramaters.  I don't think I want to this in
every function that connects to a db. 

params = array(
'host' => 'localhost',
'username' => 'postgres',
'password' => '',
'dbname' => ''
);

$DB = Zend_Db::factory('pdo_pgsql', $params);



Thanks
-Tom Printy



RE: [fw-general] Establishing naming conventions for ZendFramework 2.0

2008-05-20 Thread Guillaume BABIK
-10 for me...

It would be too hard to maintain over existing applications.

And I think it's not necessary.

We only have to learn the names, as ever exist in others Frameworks...


-Message d'origine-
De : Matthew Weier O'Phinney [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 20 mai 2008 13:53
À : fw-general@lists.zend.com
Objet : Re: [fw-general] Establishing naming conventions for ZendFramework
2.0

-- Xavier Vidal Piera <[EMAIL PROTECTED]> wrote
(on Tuesday, 20 May 2008, 11:35 AM +0200):
> +1
> 
> But please, when will be done, publish a list of changed names in order to
do a
> carefully search & replace

Any BC changes in 2.0 will (a) need to be well-justified (I think this
one falls in that category), (b) have documentation regarding the nature
of the change, and (c) hopefully also include a script or Zend_Tool
provider for aiding the migration (for instance, finding all instances
of an old class name in your code and renaming). 

> On Tue, May 20, 2008 at 11:30 AM, Julian Davchev <[EMAIL PROTECTED]> wrote:
> 
> +10 from me.
> 
> I like this + thingy :)
> 
> Ben Scholzen 'DASPRiD' wrote:
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> +1 from me as well.
> 
> A break of backward compatibility in a major released is
acceptable.
> 
> Jurriën Stutterheim schrieb:
>  
> 
> +1 from me too.
> 
> A proposal for this would be great : )
> 
> Op Di, mei 20, 2008 10:05 schreef Mathew Byrne:
>
> 
> +1
> 
> 
> Backwards compatibility aside coming up with a more
consistent
> naming
> scheme would be a massive boon for Zend Framework. We've
> already got rules
> for how names are constructed, now for some guidelines as
to
> the semantics
> of ZF component names.
> 
> --
> Mathew Byrne
> http://www.matbyrne.com/
> 
> 
> 
> On May 20, 2008, at 2:00 PM, Matthew Ratzloff wrote:
> 
> 
>  
> 
> This seems like a perennial issue for me, but I'm
bringing
> it up
> again because I think it's worthwhile.
> 
> Since the beginning of this project, there hasn't
really
> been much
> in the way of direction given on naming standards for
> classes in Zend
> Framework. This lack of consistency is what has
yielded two
> nomenclatures for CLI components ("Zend_Console" vs.
> "Zend_Controller_Response_Cli"), differing terms for
> similar
> concepts ("Zend_Json_Decoder" vs. "Zend_Mime_Decode"),
both
> nouns and
> verbs in equal measure ("Zend_Loader" but not
> "Zend_Translator";
> alternately, "Zend_Translate" but not "Zend_Load"),
and so
> on.
> 
> I first brought this issue up in February 2007 and
> concluded,
> "Consistency means predictability, which means being
able
> to recall
> names without having to check the manual every time.
It's
> why most people
> can't use PHP's date or string functions without
looking at
> the
> documentation, for example."
> 
> There was a lot of agreement from the community (and a
> couple
> Zenders) but no movement because the framework was
> preparing for
> 1.0.  At the time I was told, "There is life after
0.9.0,"
> and so as
> we prepare for 2.0, I think it's the perfect time to
> revisit this.
> 
> -Matt
> 
>
> 
>
> 
> 
> - --
> ...
> :  ___   _   ___ ___ ___ _ ___:
> : |   \ /_\ / __| _ \ _ (_)   \   :
> : | |) / _ \\__ \  _/   / | |) |  :
> : |___/_/:\_\___/_| |_|_\_|___/   :
> :::
> : Web: http://www.dasprids.de :
> : E-mail : [EMAIL PROTECTED]   :
> : Jabber : [EMAIL PROTECTED] :
> : ICQ: 105677955  :
> :::
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFIMpGI0HfT5Ws789ARAgiXAKCZ9ZmPhl+2uolK5yuhtgpMy6duawCgpBg0
> NDNwsoTRDMyNpVOQCUrzgyE=
> =vKfs
> -END PGP S

RE: [fw-general] How to use Bootstrapping and MVC architecture in PHP CLI

2008-01-18 Thread Guillaume BABIK
Argh...

Thanks for your answer.

If anyone has a script to avoid bootstrap (using argv, argc, ...), you'll
help me a lot ! ;)


-Message d'origine-
De : ctx2002 [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 18 janvier 2008 04:06
À : fw-general@lists.zend.com
Objet : Re: [fw-general] How to use Bootstrapping and MVC architecture in
PHP CLI


you cannot do it , sorry.
ZF is a web based application, need apache(or any web server) to make it
work.

regards 


-- 
View this message in context:
http://www.nabble.com/How-to-use-Bootstrapping-and-MVC-architecture-in-PHP-C
LI-tp14929133s16154p14945068.html
Sent from the Zend Framework mailing list archive at Nabble.com.



[fw-general] How to use Bootstrapping and MVC architecture in PHP CLI

2008-01-17 Thread Guillaume BABIK
Hi all,

 

I am just start using Zend Framework, so sorry if my question has ever
asked.

 

I am trying to use a bootstrap in Command line.

But, I am unable to get the correct Action in my Controller.

 

Is anyone can help me ?

 

I am looking for on the web for 3 days with no results.

 

Many thanks,

 

Bye