[wp-hackers] phps for plugins

Christopher J. Hradil chradil at comcast.net
Tue Jul 18 05:30:50 GMT 2006


my personal preference for plugins is to download a zip or gz file which
creates it's own directory called "plugin_name", containing all of the
required files, etc for that plugin. my personal "work style" is such that I
like to keep things pretty organized (which isn't easy for me), it's too
easy to let code containing files get out of control. I keep a
/home/myusername/sw directory on my primary unix dev box at my co-lo
provider, inside of sw, I have a /wordpress, a /typo3, /crm etc. then in
something like the /wp folder I have a /core and a /plugins, then inside of
/plugins there's a /plugin_name for each one. Then at home/office I keep a
similar/identical setup on a nas box, except that I keep one extra set of
everything which is the "clean"/unmodified originals. I can see why some
folks prefer the single .phps style though, as that is really quick easy way
to get things done. I primarily jump through my personal hoops because we
normally have multiple version/edits of things for multiple clients, etc. so
it's really more of a management issue than one of the best or easiest
methods for the purposes of a WP plugin "standard". 

..chris 


/**************************************
Christopher J. Hradil
chradil at comcast.net
http://www.hradil.us
973-809-4606
**************************************/


-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Computer Guru
Sent: Monday, July 17, 2006 7:18 PM
To: wp-hackers at lists.automattic.com
Subject: [wp-hackers] phps for plugins

I'm finally getting around to doing what I've always wanted, and that's
churning out the plugins.

My webserver supports the phps extension as highlighted php code. It takes
the PHP and formats it as colored HTML. You can copy and paste the code just
fine to a new document to create your plugin.

 

Now my question is, is this the 'preferred way' or is it more preferable to
save it as plain-text files that can be downloaded straight to the plugins
directory?

 

For example,
http://neosmart.net/downloads/software/WordPress/Plugins/CompleteRSS.phps

It's a _lot_ easier on the eyes, but if anyone were to save the target and
upload, it wouldn't work since it's formatted HTML, not PHP.


What's the right way?

 

Computer Guru

NeoSmart Technologies <http://neosmart.net/> 

http://neosmart.net/blog/

 

_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list