Re: [PHP] interface name file

2010-07-08 Thread shiplu
I use naming convention for interface.

If an object can be cached, I create an interface I+Cache+able = ICachable.

So a sample class would be named as ASampleClass.php
And the Interface would be ICachable.php

This is a well known interface naming convention.

Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] interface name file

2010-07-07 Thread Augusto Flavio
Hi,


I want to know which file name is appropriate for a interface. Today, for a
PHP class I use: NAME.class.php. What about a interface? Is there a
definition about it ?





Thanks



Augusto Morais


Re: [PHP] interface name file

2010-07-07 Thread Hans Åhlin
*.api
Application Programming Interface
http://en.wikipedia.org/wiki/Application_Programming_Interface

**
 Hans Åhlin
   Tel: +46761488019
   icq: 275232967
   http://www.kronan-net.com/
   irc://irc.freenode.net:6667 - TheCoin
**



2010/7/8 Augusto Flavio afla...@gmail.com:
 Hi,


 I want to know which file name is appropriate for a interface. Today, for a
 PHP class I use: NAME.class.php. What about a interface? Is there a
 definition about it ?





 Thanks



 Augusto Morais


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php