Re: [nyphp-talk] PHP is not just for professionals

2014-05-23 Thread GLENN POWELL
Gary and Leam, I also agree. Over the past few years I have worked on 3 “homegrown” MVC frameworks. 2 of these were business applications (inventory, ERP, that sort of thing.) and that’s the use case I’m thinking of here. I didn’t design them or code them and had no involvement in the creation

Re: [nyphp-talk] What PHP tools are you using?

2012-05-30 Thread Glenn Powell
PhpStorm on development box/s and vim on the servers. PhpStorm really helps with a large MVC codebase. -Glenn On May 29, 2012, at 6:02 PM, Federico Ulfo wrote: > Hey guys, > what tools do you use to develop in PHP? Are you using Jenkins with all the > fancy plugins? And what about the IDE? >

Re: [nyphp-talk] Inspiration for projects.

2010-01-21 Thread Glenn Powell
Some of the time, some of the coders code the clients ideas and dreams. Some of the time, some of the coders code their own ideas and dreams. Here's to the dreamers and inventers, clients and coders alike. :) Glenn On Jan 20, 2010, at 3:08 PM, Anthony Wlodarski wrote: I have a large amount of

Re: [nyphp-talk] using PHP to import large-ish SQL into mysql

2009-10-21 Thread Glenn Powell
I remember seeing "Premature end of script headers" with Perl scripts when I mistakenly ftp'd them to the server in binary mode instead of ascii mode. Drove me crazy, and I knew better than to do that, I just overlooked the mode when I uploaded. Glenn On Oct 21, 2009, at 6:48 PM, Daniel Conviss

Re: [nyphp-talk] Arrays out of a file and back in?

2009-10-20 Thread Glenn Powell
This might do it. I haven't used this, but I've seen other's use it. http://us2.php.net/manual/en/function.serialize.php HTH, Glenn On Oct 20, 2009, at 6:05 PM, Leam Hall wrote: Down the road I'll get this going in a database, but at the moment I'm stuck using flat files to store multi-dim

Re: [nyphp-talk] developer's machine specs -- recomendations?

2009-10-19 Thread Glenn Powell
On Oct 19, 2009, at 4:02 PM, John Campbell wrote: On Sun, Oct 18, 2009 at 8:50 PM, Allen Shaw wrote: I'd love to hear any advice on what makes a good web developer's machine. At this point I don't have a lot of places to ask, other than vendors who'll just sell me as much as they can con

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Glenn Powell
continuation from last post... and another idea... When you get the list of record ids, select enough of the text around the (target phrase to be "linkafied") to give it some context, and, at the point of publication of a new article, display those blurbs in a list with a pre checked checkbo

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Glenn Powell
If the article copy is stored in the db, and you've got sql to work with, then at the point of publication of a new article, it might be possible to narrow the targets with; select id from articles where article_text like %valley forge%"; (or something like that). Then you can do whatever yo

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Glenn Powell
Ah. New article titles are based on phrases from pre-existing content. On Aug 27, 2009, at 2:37 PM, Randal Rust wrote: On Thu, Aug 27, 2009 at 11:40 AM, Glenn Powell wrote: Maybe altering the existing articles is a one time process? Unfortunately, no. These sites are encyclopedias, so

Re: [nyphp-talk] Dynamically Add Links to Text

2009-08-27 Thread Glenn Powell
Maybe altering the existing articles is a one time process? Just once to add the links, based on a hash of known article titles to date. For future articles; I don't see how a pre-existing article could have made reference to an article title that hasn't been published yet. That would me

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] Migrate to Cloud

2009-08-13 Thread Glenn Powell
I've been using Amazon S3 for content storage, and it seems to work ok. For basic file admin work with S3, there is an S3 plugin for Firefox, and Cyberduck. I use it to serve js, images, css etc. for web apps and also for user created content. I'm not sure that I actually "like" depending

Re: [nyphp-talk] table structure for "friend" relationships

2009-07-30 Thread Glenn Powell
Thanks for clarifying. glenn On Jul 30, 2009, at 5:07 PM, Allen Shaw wrote: Glenn Powell wrote: ... if 100 considers 300 a friend, that does not mean that 300 considers 100 a friend. It could be maddening for a user to see that they are a friend of 300, when in fact they have not done

Re: [nyphp-talk] table structure for "friend" relationships

2009-07-30 Thread Glenn Powell
imho, For option 1, if looking for friends of 100, maybe you only have to look in col 1. if 100 considers 300 a friend, that does not mean that 300 considers 100 a friend. It could be maddening for a user to see that they are a friend of 300, when in fact they have not done anything in

Re: [nyphp-talk] Learned one CMS and want to move on.

2009-07-27 Thread Glenn Powell
My jaded 2 cents... It's cheaper for your employer to use the most experienced Drupal developer for Drupal work. You can probably get Drupal things done very quickly compared to others at your workplace... quick=profit (or getting the job in the first place.) I would guess that your car

Re: [nyphp-talk] memory problems

2009-06-04 Thread Glenn Powell
I had a similar problem and I added some old fashioned debug code using "echo" and "memory_get_usage" to see where the leaks were. It really helped, and it's very educational. (and fun...) HTH glenn On Jun 4, 2009, at 5:23 PM, Rahmin Pavlovic wrote: On Jun 4, 2009, at 2:14 PM, John Campbe