[PHP-DEV] Bug #11844 Updated: It would be nice to have tags in PHP just like JSP tags.

2001-10-02 Thread sander

ID: 11844
Updated by: sander
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: Feature/Change Request
Operating System: Win 2000
PHP Version: 4.0.6
New Comment:

No feedback - closing

Previous Comments:


[2001-07-02 14:55:55] [EMAIL PROTECTED]

What are JSP tags?



[2001-07-02 14:54:57] [EMAIL PROTECTED]







Edit this bug report at http://bugs.php.net/?id=11844edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11844 Updated: It would be nice to have tags in PHP just like JSP tags.

2001-10-02 Thread sander

ID: 11844
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Feature/Change Request
Operating System: Win 2000
PHP Version: 4.0.6


Previous Comments:


[2001-07-02 14:55:55] [EMAIL PROTECTED]

What are JSP tags?



[2001-07-02 14:54:57] [EMAIL PROTECTED]







Edit this bug report at http://bugs.php.net/?id=11844edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11844 Updated: It would be nice to have tags in PHP just like JSP tags.

2001-10-02 Thread aaronshaf

ID: 11844
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Closed
Status: Open
Bug Type: Feature/Change Request
Operating System: Win 2000
PHP Version: 4.0.6
New Comment:

There is a good tutorial on JSP tags are at 
http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html.

To give you an idea, let's say I wanted PHP to automatically generate code (defined 
through tag library) for a menu:

webskin:menu title=Clothing
   webskin:menuItem title=Shirts url=shirts.php/
   webskin:menuItem title=Pants url=pants.php/
   webskin:menuItem title=Socks url=socks.php/
/webskin:menu

Previous Comments:


[2001-10-02 04:19:54] [EMAIL PROTECTED]

No feedback - closing



[2001-07-02 14:55:55] [EMAIL PROTECTED]

What are JSP tags?



[2001-07-02 14:54:57] [EMAIL PROTECTED]







Edit this bug report at http://bugs.php.net/?id=11844edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11844 Updated: It would be nice to have tags in PHP just like JSP tags.

2001-10-02 Thread rasmus

ID: 11844
Updated by: rasmus
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: Win 2000
PHP Version: 4.0.6
New Comment:

So make yourself a function and call it.  This isn't going to happen in PHP.

Previous Comments:


[2001-10-02 10:51:08] [EMAIL PROTECTED]

There is a good tutorial on JSP tags are at 
http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html.

To give you an idea, let's say I wanted PHP to automatically generate code (defined 
through tag library) for a menu:

webskin:menu title=Clothing
   webskin:menuItem title=Shirts url=shirts.php/
   webskin:menuItem title=Pants url=pants.php/
   webskin:menuItem title=Socks url=socks.php/
/webskin:menu



[2001-10-02 04:19:54] [EMAIL PROTECTED]

No feedback - closing



[2001-07-02 14:55:55] [EMAIL PROTECTED]

What are JSP tags?



[2001-07-02 14:54:57] [EMAIL PROTECTED]







Edit this bug report at http://bugs.php.net/?id=11844edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11844 Updated: It would be nice to have tags in PHP just like JSP tags.

2001-10-02 Thread rasmus

ID: 11844
Updated by: rasmus
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Feature/Change Request
Operating System: Win 2000
PHP Version: 4.0.6
New Comment:

It is syntactical candy that would slow down the parser by a huge amount.
You can do exactly the same thing with less typing like this:
?$webskin-menu('Clothing')?
   ?$webskin-menuItem('Shirts','shirts.php')?
   ?$webskin-menuItem('Pants','pants.php')?
   ?$webskin-menuItem('Socks','socks.php')?
?$webskin-endmenu()?


Previous Comments:


[2001-10-02 11:03:19] [EMAIL PROTECTED]

The purpose of the tag libraries is to appropriately call the functions. One of the 
advantages is nested tags. Code would look a lot cleaner as well.



[2001-10-02 10:58:49] [EMAIL PROTECTED]

So make yourself a function and call it.  This isn't going to happen in PHP.



[2001-10-02 10:51:08] [EMAIL PROTECTED]

There is a good tutorial on JSP tags are at 
http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html.

To give you an idea, let's say I wanted PHP to automatically generate code (defined 
through tag library) for a menu:

webskin:menu title=Clothing
   webskin:menuItem title=Shirts url=shirts.php/
   webskin:menuItem title=Pants url=pants.php/
   webskin:menuItem title=Socks url=socks.php/
/webskin:menu



[2001-10-02 04:19:54] [EMAIL PROTECTED]

No feedback - closing



[2001-07-02 14:55:55] [EMAIL PROTECTED]

What are JSP tags?



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=11844


Edit this bug report at http://bugs.php.net/?id=11844edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11844 Updated: It would be nice to have tags in PHP just like JSP tags.

2001-07-02 Thread derick

ID: 11844
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Feature/Change Request
Operating system: 
PHP Version: 4.0.6
Assigned To: 
Comments:

What are JSP tags?

Previous Comments:
---

[2001-07-02 14:54:57] [EMAIL PROTECTED]



---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11844edit=2


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]