Re: [nyphp-talk] Working with designers

2009-08-25 Thread Ajai Khattri
On Sun, 23 Aug 2009, li...@nopersonal.info wrote: > Last but not least, designers & developers need to respect each other's > professional expertise. I've met designers who are contemptuous of > coders & developers, seeing them as little more ill-tempered, geeky > "code monkeys" whose sole sense o

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Ajai Khattri
On Tue, 25 Aug 2009, li...@nopersonal.info wrote: > Do you have any recommendations on a good one to use? If your VCS of choice doesn't have a wiki, you might want to look at pbworks.com. (Sure, I could grab some open source and install it on my own hardware but not having to waste time or wor

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Ajai Khattri
On Tue, 25 Aug 2009, Kristina D. H. Anderson wrote: > Right now I'm working with the Paypal IPN code and I'm finding that > it's quite a creative experience to figure out what, in any particular > instance, is the highest level of valuable information you can wreak > out of some code by dint of

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Ajai Khattri
On Tue, 25 Aug 2009, li...@nopersonal.info wrote: > Chris Snyder wrote: > > It's a good idea to set up a wiki for your personal use as a sysadmin, > > to store recipes like this, and make them easy to update with each new > > install. The only thing worse than spending hours getting a > > configur

Re: [nyphp-talk] Input as array names

2009-08-25 Thread Daniel Convissor
On Tue, Aug 25, 2009 at 03:27:51PM -0400, Hall, Leam wrote: > > Bug ID: 1234 > Affected Machines: > somehost1 > somehost2.example.com > somehostwehavenotseeninyears.example.com > > Bug ID: 3456 > Affected Machines: > somehost1 > somehostwehanvenotseeninyears.example.com All in pseudo

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Kristina D. H. Anderson
Hi, sorry if this was covered anywhere previously in this thread, but I've found it useful, in addition to enabling the full error reporting that's built into PHP, to also add customized error_log calls anywhere where you have such things as database inserts/updates, web service request/respons

Re: [nyphp-talk] Input as array names

2009-08-25 Thread Glenn Powell
Arrays are a powerful tool. Once you get the hang of it, you can do almost anything. Notice that some of them have named keys. Anyway, I remember when I first started using arrays, especially with named keys, and the world of possibilities that they opened up. So I thought I would share this

Re: [nyphp-talk] how to resize images and maintain iptc data

2009-08-25 Thread Michael Southwell
Dan Cech wrote: Michael Southwell wrote: I have a photography client who uploads images with iptc metadata. I need to pull out and store the iptc data (no problem), and resize the images (no problem) without losing the iptc data (problem). I can use a browser resize with the original image but I

Re: [nyphp-talk] Time zone based on country/state/city

2009-08-25 Thread Jake McGraw
Also, you could just ask your users to supply their timezone... didn't think of that one! - jake On Tue, Aug 25, 2009 at 5:03 PM, Jake McGraw wrote: > On Tue, Aug 25, 2009 at 3:07 PM, Nelly Yusupova wrote: >> Hello Everyone, >> >> Is there a way to figure out a time zone based on country/state/ci

Re: [nyphp-talk] Time zone based on country/state/city

2009-08-25 Thread Jake McGraw
On Tue, Aug 25, 2009 at 3:07 PM, Nelly Yusupova wrote: > Hello Everyone, > > Is there a way to figure out a time zone based on country/state/city.  I > searched the web and could not find any resources. You have got two problems here: Most TZ databases are going to be LatLon specific, so, you'll

Re: [nyphp-talk] how to resize images and maintain iptc data

2009-08-25 Thread Dan Cech
Michael Southwell wrote: > I have a photography client who uploads images with iptc metadata. I > need to pull out and store the iptc data (no problem), and resize the > images (no problem) without losing the iptc data (problem). I can use a > browser resize with the original image but I'd rather s

[nyphp-talk] how to resize images and maintain iptc data

2009-08-25 Thread Michael Southwell
I have a photography client who uploads images with iptc metadata. I need to pull out and store the iptc data (no problem), and resize the images (no problem) without losing the iptc data (problem). I can use a browser resize with the original image but I'd rather store resized images upon orig

Re: [nyphp-talk] Input as array names

2009-08-25 Thread Cristian Baltatescu
On Tue, Aug 25, 2009 at 10:40 PM, Michael Hernandez wrote: > On Tue, 2009-08-25 at 15:27 -0400, Hall, Leam wrote: > > Okay, here's one of the places I don't really get and can use some > > help on. On my text processing script I'm going to slurp up host > > names. They come in as the first, count

Re: [nyphp-talk] Input as array names

2009-08-25 Thread Michael Hernandez
On Tue, 2009-08-25 at 15:27 -0400, Hall, Leam wrote: > Okay, here's one of the places I don't really get and can use some > help on. On my text processing script I'm going to slurp up host > names. They come in as the first, counting from 0, element. I can > explode and create the array, which giv

Re: [nyphp-talk] Simple MySQL web based form creator?

2009-08-25 Thread Rolan Yang
If your customer is using windows, check out MySQL-Front. ~Rolan Matt Juszczak wrote: I have a single table, with about 20 fields, 2 enum's, etc. I'm looking for a simple tool that can wrap a form around this table and allow people to update/edit it. I feel phpmyadmin would work but it's wa

[nyphp-talk] Input as array names

2009-08-25 Thread Hall, Leam
Okay, here's one of the places I don't really get and can use some help on. On my text processing script I'm going to slurp up host names. They come in as the first, counting from 0, element. I can explode and create the array, which gives me a string: $hostname[1] = somehost.example.com I ca

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Joelle Tegwen
And I bet you can script even more of the process. For example, you were saying you manually edit your config files. There are two ways to automate config file modifications. 1) Have a copy of the config file in your version control system (subversion, cvs, git, etc) that your installation

[nyphp-talk] Time zone based on country/state/city

2009-08-25 Thread Nelly Yusupova
Hello Everyone, Is there a way to figure out a time zone based on country/state/city. I searched the web and could not find any resources. Thank you in advance. Sincerely, Nelly Yusupova Webgrrls.com ne...@cgim.com 917 603-9226 (phone) URL: http://www.webgrrls.com Blog: http://www.webgrrls.com/

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Daniel Convissor
Hi Joelle: On Tue, Aug 25, 2009 at 12:50:55PM -0500, Joelle Tegwen wrote: > > I created two files. The first is a shell script that installs all of > the applications I use, changes settings/permissions and makes copies of > config files. Then you've always got your back covered. The second is

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Eddie Drapkin
On Tue, Aug 25, 2009 at 2:46 PM, li...@nopersonal.info wrote: > Chris Snyder wrote: >> It's a good idea to set up a wiki for your personal use as a sysadmin, >> to store recipes like this, and make them easy to update with each new >> install. The only thing worse than spending hours getting a >> c

Re: [nyphp-talk] Working with designers

2009-08-25 Thread tedd
At 9:49 AM -0400 8/25/09, li...@nopersonal.info wrote: Mark Armendariz wrote: As for my experience, I started as a graphic designer (about 12 years ago) and as a freelance PHP developer for 8 years, I've been fortunate enough to work closely with some of the best and most talented designers

Re: [nyphp-talk] Simple MySQL web based form creator?

2009-08-25 Thread Daniel Convissor
Hey Matt: On Tue, Aug 25, 2009 at 01:51:01PM -0400, Matt Juszczak wrote: > I have a single table, with about 20 fields, 2 enum's, etc. I'm looking > for a simple tool that can wrap a form around this table and allow people > to update/edit it. Here's a very crude SQL package I made when I sta

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread li...@nopersonal.info
Chris Snyder wrote: > It's a good idea to set up a wiki for your personal use as a sysadmin, > to store recipes like this, and make them easy to update with each new > install. The only thing worse than spending hours getting a > configuration exactly right is realizing two years later that you > d

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread li...@nopersonal.info
Joelle Tegwen wrote: > Here's my advice that others have not already covered. > 1) Take the time to figure out how to move your /home to another partition. I saw a reference to that the other day while searching for something else and made a mental not that I needed to come back to it. The fact th

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Chris Snyder
On Tue, Aug 25, 2009 at 1:50 PM, Joelle Tegwen wrote: > I created two files. The first is a shell script that installs all of the > applications I use, changes settings/permissions and makes copies of config > files. Then you've always got your back covered. The second is instructions > and informa

Re: [nyphp-talk] Simple MySQL web based form creator?

2009-08-25 Thread li...@nopersonal.info
Matt Juszczak wrote: > I have a single table, with about 20 fields, 2 enum's, etc. I'm looking > for a simple tool that can wrap a form around this table and allow > people to update/edit it. I feel phpmyadmin would work but it's way too > complex for this project. > > Any suggestions? Maybe th

Re: [nyphp-talk] Simple MySQL web based form creator?

2009-08-25 Thread G Rundlett
On Tue, Aug 25, 2009 at 1:51 PM, Matt Juszczak wrote: > I have a single table, with about 20 fields, 2 enum's, etc.  I'm looking for > a simple tool that can wrap a form around this table and allow people to > update/edit it.  I feel phpmyadmin would work but it's way too complex for > this project

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread Joelle Tegwen
I switched over from Windows a couple of years ago. I'm not a pro, but I found a few things that were frustrating for me as I switched distros or got a new machine. Here's my advice that others have not already covered. 1) Take the time to figure out how to move your /home to another partition.

[nyphp-talk] Simple MySQL web based form creator?

2009-08-25 Thread Matt Juszczak
I have a single table, with about 20 fields, 2 enum's, etc. I'm looking for a simple tool that can wrap a form around this table and allow people to update/edit it. I feel phpmyadmin would work but it's way too complex for this project. Any suggestions? __

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread li...@nopersonal.info
Ajai Khattri wrote: >> Do any of you have recommendations on configuration settings to use? > > Most of these packages come with pretty sensible config settings so I > probably would *not* mess with them without knowing the consequences. Duly noted. >> Which packages/extensions/modules should b

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread li...@nopersonal.info
Chris Snyder wrote: > Congratulations! I've always thought that system administration skills > are a necessary part of any web programmer's toolkit. I couldn't agree more--the need for it has become clearer & clearer as I inch my way forward. The company I work for is an outfit of network securit

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread li...@nopersonal.info
Mark Armendariz wrote: > You want version control as much of a habit as "Ctrl + S". It can be > a pain at first and sometimes even seems silly when you start out and > develop on your own. But it is Very nice to have an undo button that > reaches back all the way to the first line of code you've

Re: [nyphp-talk] Advice on setting for testing server

2009-08-25 Thread li...@nopersonal.info
David, thanks for all the advice, especially the reminder to follow best practices and mind my variables. I'll take a look at the XAMPP config files, stick with my stock installation, and keep error reporting set to E_ALL. > I don't think there is a removerookiemistakes extension. Drat! Someone

Re: [nyphp-talk] Advice on OOP & Frameworks

2009-08-25 Thread li...@nopersonal.info
Mitch Pirtle wrote: > Ok, now I gotta pimp a book. Pragmatic Thinking and Learning, by > Pragmatic Publishers: > > http://www.pragprog.com/titles/ahptl/pragmatic-thinking-and-learning > > They mention the Dreyfus model of competence levels, which is an > awesome read in itself. I encourage everyo

Re: [nyphp-talk] Advice on OOP & Frameworks

2009-08-25 Thread li...@nopersonal.info
Hall, Leam wrote: > Some years ago I took the SAGE list for systems administrators as a set > of goals. It broke down what sorts of things you should be able to do as > a beginner, intermediate, and advanced sysadmin. Not everyone does their > best with a structure but I certainly do. Wow, that mu

Re: [nyphp-talk] Advice on OOP & Frameworks

2009-08-25 Thread li...@nopersonal.info
I hope responding to everyone in one email won't be considered rude, but it seemed to be easier than making everyone open half a dozen emails. Ajai - Thanks for the great info on frameworks (esp. the OOP part) and for the advice on what to look for. Guilherme - CRUD, ORM, MVC... so many terms &

Re: [nyphp-talk] Advice on OOP & Frameworks

2009-08-25 Thread Mitch Pirtle
Ok, now I gotta pimp a book. Pragmatic Thinking and Learning, by Pragmatic Publishers: http://www.pragprog.com/titles/ahptl/pragmatic-thinking-and-learning They mention the Dreyfus model of competence levels, which is an awesome read in itself. I encourage everyone to read this book, it will cert

Re: [nyphp-talk] Advice on OOP & Frameworks

2009-08-25 Thread Hall, Leam
Some years ago I took the SAGE list for systems administrators as a set of goals. It broke down what sorts of things you should be able to do as a beginner, intermediate, and advanced sysadmin. Not everyone does their best with a structure but I certainly do. Main things are what sorts of thing

[nyphp-talk] And can you have that by end of week?

2009-08-25 Thread Hall, Leam
Yikes! I showed my boss the results of a script that took a 400-800 page report and put it into a 10 page synopsis. Now he wants it sortable by host name, adding a couple click boxes, and linking to a personell list that's still being formed. And by end of week! Did I mention I'm a server guy a

Re: [nyphp-talk] Advice on OOP & Frameworks

2009-08-25 Thread li...@nopersonal.info
Leam Hall wrote: > Anyone up for drafting a "Recommended Learning Program" for PHP? That sounds like a great idea, Leam. I'd be willing to work on it to the degree that my current knowledge permits (since most of my stumbles are still fresh in my mind). Maybe we can start a new thread about that

Re: [nyphp-talk] Working with designers

2009-08-25 Thread li...@nopersonal.info
Mark Armendariz wrote: > As for my experience, I started as a graphic designer (about 12 years > ago) and as a freelance PHP developer for 8 years, I've been fortunate > enough to work closely with some of the best and most talented > designers in the industry. That's good to know. I love doing b