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
Sry for my English – it isn't my national language.
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 l
My login action is in controller AuthController in action LoginAction().
If I use Zend_Auth_Storage_Session() to store username logged persons and I
would like to create that only logged users can go to action addBookAction()
and removeBookAction() in controller LibraryController - should I add t
Yes but I don't know where I should place library jQuery - in which catalog
(for example in Symfony Framework and ASP.NET MVC default library is the
most popular javascript library on the world - jQuery and I don't need to
download, place and enable it).
So I downloaded jQuery library and where I
aoohralex wrote:
>
> I have action:
> public function addBookAction()
> {
> $form = new Form_Books();
>
> if ($this->getRequest()->isPost())
> {
> $request = $this->getReq
I have action:
public function addBookAction()
{
$form = new Form_Books();
if ($this->getRequest()->isPost())
{
$request = $this->getRequest();
if ($form->isValid($request->getPost())
Joo thx for help. Thx Joo and thx this website (I have found it today):
http://www.oplabo.com/article/12
I have created:
array( 'NotEmpty', true, array(
'messages' => array(
'isEmpty' => 'Name is required.'
))),
I must create my own 3. error communicates for field - 'name' - in Symfony
Framework it would be:
$this->setValidators(array(
'name' => new sfValidatorString(array('min_length' => 2, 'max_length'
=>
50, 'trim' => true),
array('required' => 'Name is required.', 'min_length' =>
ok - thx - I searched in bad place - in Zen_Forms
I have one more question - what is the difference between Digits and Int -
Digits can have only numbers and Int can have only numbers - I don't know
what I should use ??
--
View this message in context:
http://www.nabble.com/list-of-validators-
Where is list of validators in Zend ? Here rather not:
http://framework.zend.com/manual/en/zend.form.elements.html#zend.form.elements.validators
In Symfony Framework I have in documentation list of all validator:
http://www.symfony-project.org/api/1_2/validator
I need integer validator and numbe
I have know - I had in layout:
headLink()->appendStylesheet('css/main.css') ?>
WITHOUT SLASH AT THE BEGINNGING !!
It should be:
headLink()->appendStylesheet('/css/main.css') ?>
and now everything is ok.
--
View this message in context:
http://www.nabble.com/strange-problem-with-layout-tp25508
I have a strange problem - when I write in url action layout doesn't work, I
see only content of view - examples:
it work:
http://localhost:81/library
it doesn't work:
http://localhost:81/library/index
but both adresses are the same (default action is index) - so how is it
possible ?
and here
ok thx alayn and Mon - I will use 'default' :)
--
View this message in context:
http://www.nabble.com/url%28%24urlOptions%2C-%24name%2C-%24reset%29---what-is-%24name---tp25491945p25508445.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Jan Pieper-2 wrote:
>
>> I completly don't understand.
>
> You can use a specific route (selected by $name) do build url with.
>
> Take a look at
> http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.basic
>
> -- Jan
>
I have read and I still don't unders
I completly don't understand.
--
View this message in context:
http://www.nabble.com/url%28%24urlOptions%2C-%24name%2C-%24reset%29---what-is-%24name---tp25491945p25505948.html
Sent from the Zend Framework mailing list archive at Nabble.com.
url($urlOptions, $name, $reset) - what is $name ? I understand $urlOptions
and $reset. I don't understand $name.
--
View this message in context:
http://www.nabble.com/url%28%24urlOptions%2C-%24name%2C-%24reset%29---what-is-%24name---tp25491945p25491945.html
Sent from the Zend Framework mailing
Zend_Db_Expr('GROUP_CONCAT(author)') - this is strange for me, I don't
understand that so I don't want to use it - I MUST know and understand all
code (I know that in ZF it isn't possible).
getAdapter() - I also don't know that method.
And I don't know how I can use it to show rows in that way
hm... it doesn't work for me:
Specified column "author" is not in the row
--
View this message in context:
http://www.nabble.com/HYDRATION-like-in-Doctrine-ORM-in-Symfony-Framework-tp25490065p25490884.html
Sent from the Zend Framework mailing list archive at Nabble.com.
I have in database two tables:
books:
- id PK
- title
authors:
- id PK
- author
- id_book FK
1 book can have many authors. I want to learn ZF so database doesn't matter
(I know it should be that also 1 author can have many books and it shouldn't
be column 'author' but column 'name' and 'surname'
thx alayn :)
--
View this message in context:
http://www.nabble.com/I-have-an-eror%3A-Select-query-cannot-join-with-another-table-tp25488217p25489419.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Your solution works but as I understand it disables checking integrity data
in database - is it good and normal solution in Zend Framework ? I would
like to use good style programming. Is this a good solution - disabling
checking integrity ?
--
View this message in context:
http://www.nabble.c
I have in database two tables:
books:
- id PK
- title
authors:
- id PK
- author
- id_book FK
1 book can have many authors. I want to learn ZF so database doesn't matter
(I know it should be that also 1 author can have many books and it shouldn't
be column 'author' but column 'name' and 'surname'
One year ago I knew one person who used Zend Framework. One day he had to
modify (add something) somebody's website wrote in Zend Framework but he had
to write everything from the beginning. He was then very angry and he said
me why. Do you know ?
Bacause ZF was so flexible that somebody created
So you think this is a mistake that these things are in Symfony Framework,
ASP.NET Framework and many others frameworks ? :)
--
View this message in context:
http://www.nabble.com/Is-there-anybody-from-Zend-team---tp25455352p25474309.html
Sent from the Zend Framework mailing list archive at Nabb
thx Carlton - this tutorial helped me:
http://akrabat.com/wp-content/uploads/getting-started-with-zend-framework-163.pdf
Now I have at least connection to database (I checked - I can show something
from my database)
Matthew Weier I think 99% hostings in my country don't allow to modify
httpd.co
Carlton layout should be by default with content:
layout()->content ?>
and then everybody will be happy.
Based on Yours instructions how to connect to database:
http://framework.zend.com/manual/en/zend.db.html#zend.db.adapter.connecting.factory-config
I have:
$config = new Zend_Config(
Matthew:
ok - I needn't register to download ZF, but I didn't see these links at the
bottom of page and I thought that I must register to download ZF.
You have given me link:
http://framework.zend.com/wiki/display/ZFDEV/Configuring+Your+URL+Rewriter
http://framework.zend.com/wiki/display/ZFDEV/Co
Yes I have more questions :) I know Symfony Framework and SF is MORE
comfortable but I have some questions about ZF:
1. Why I must register to download ZF ?
2. Why after generate ZF project using console:
zf.bat create project quickstart
and after placed it on the server it DOESN'T WORK !!
I mus
I have written in .htaccess:
RewriteEngine On
RewriteRule ^(.*)$ /project/public/$1 [QSA,L]
and css works !!
Yes - my site is in project/ folder because I have written in console:
zf.bat create project project
and all files were generated in folder 'project' so in tutorial somebody
should write
Is there anybody from Zend team - people who are developing Zend ?
--
View this message in context:
http://www.nabble.com/Is-there-anybody-from-Zend-team---tp25455352p25455352.html
Sent from the Zend Framework mailing list archive at Nabble.com.
30 matches
Mail list logo