By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,890 Members | 1,048 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,890 IT Pros & Developers. It's quick & easy.

Zend framework - using router and rewrite router class

P: n/a
I'm having some troubles with configuraton of router class. Does
anyone has functional example of how to use these classes?

For example,
when user enters www.example.org/article/45

index.php should call article controller and calls show action.

I was playing with addRoute method, but I'm not getting any
results. .htaccess is well configured, and I'm properly calling
actions with url format 'www.example.org/controller/action'.

Mar 1 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On 2007-03-01 14:03:56 +0000, iv***********@gmail.com said:
I'm having some troubles with configuraton of router class. Does
anyone has functional example of how to use these classes?

For example,
when user enters www.example.org/article/45

index.php should call article controller and calls show action.

I was playing with addRoute method, but I'm not getting any
results. .htaccess is well configured, and I'm properly calling
actions with url format 'www.example.org/controller/action'.
Have you tried the Akrabat tutorial:

http://akrabat.com/zend-framework-tutorial/

It's v. good.

Andrew

Mar 1 '07 #2

P: n/a
Andrew Taylor je napisao/la:
On 2007-03-01 14:03:56 +0000, iv***********@gmail.com said:
Have you tried the Akrabat tutorial:

http://akrabat.com/zend-framework-tutorial/
It's good, but there is nothing about rewrite router class

Mar 1 '07 #3

P: n/a
I found the solution in this document.

http://www.akrabat.com/wp-content/up...amework_10.pdf

Thank you, Andrew.

Mar 1 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.