Mailing List Archive

Subject Sender Date
RE: [php-49] Looking for tech writers? - user 4. May 10, 2012 11:08 AM
Looking for tech writers? - Preview not available Ryan P. May 10, 2012 10:40 AM
code comment prominence - I just discovered something kind of interesting.  Most color schemes for code editors display comments in a slightly lighter color so that they fade into the background.  I was having a hard time reading them so I chose white and all of a sudden everyth Joel S. May 10, 2012 10:17 AM
Anyone Taking Sound Transit 511 Tonight? - Planning on catching the 5:55 or 6:11 departure out of Ash Way to the Meet-up (and then a later one back home). If you're planning to do the same and aren't feeling antisocial, please message me offlist. Thanks, Greg Greg B. May 10, 2012 8:04 AM
Re: [php-49] Variable Passing between Classes - Hi Eric, I'm glad you like it. Cheers! Ariz J. May 9, 2012 9:55 PM
Re: [php-49] Variable Passing between Classes - Wow, Ariz. That looks pretty darn cool, that looks to me to be an easy and great method for keeping track of all your variables. I like it. -- Eric Eric H. May 9, 2012 9:47 PM
Re: [php-49] Variable Passing between Classes - Hi Eric, Thanks for the additional info. I still think that the Observer pattern is worth trying for your use case. If you're going to implement the Observer pattern, your application code should look similar to this pseudo-code: Ariz J. May 9, 2012 9:40 PM
Re: [php-49] Variable Passing between Classes - No site_id usually stays static. But client id could, depending on login and things of that sort. Some of the other variables that are in use, could change, mainly things like a search id, which may start reflecting Eric H. May 9, 2012 9:20 PM
Re: [php-49] Variable Passing between Classes - Does the site id or client id actually change partway through the code execution? Or just on page refreshes (e.g. a user clicks a link or submits a form)? On Wed, May 9, 2012 at 3:40 PM, Eric Harris wrote: > I hear you. I Mark S. May 9, 2012 9:11 PM
Re: [php-49] AWS Developer Conference in November - What happens in Vegas... gets uploaded to the cloud. :-) On Wed, May 9, 2012 at 4:39 PM, Jeremy Cole Lindblom wrote: > If any of you are AWS users or conference goers, I thought you'd like > to know about the conference that w Greg B. May 9, 2012 5:56 PM
AWS Developer Conference in November - Preview not available Jeremy Cole L. May 9, 2012 4:39 PM
Re: [php-49] Variable Passing between Classes - I hear you. I am not sure how to describe the situation better. But let me try it in a different manor. I have about a half do Eric H. May 9, 2012 3:40 PM
Re: [php-49] Variable Passing between Classes - Without fully understanding your whole situation... 1) is there perhaps a specific class where it would make sense to store the/each variable and have the other classes ask for the variable there? 2) In a move that is all but identical to David M. May 9, 2012 3:10 PM
Re: [php-49] Any Flex guys and gals in the crowd? - Flex is a nice framework... What are you planning to build?  Is you haven't worked with action script b4 the learning curve can be a little steep. On May 9,[masked]:21 PM, "Jd Daniel" < Jerrol T. May 9, 2012 3:09 PM
Re: [php-49] Any Flex guys and gals in the crowd? - Hi Jd Daniel, I've used Flex + PHP for creating FB apps. Ariz J. May 9, 2012 3:02 PM
Re: [php-49] Any Flex guys and gals in the crowd? - Yup. Framework contributions, user groups, and personal line to Alex Harui included. Also, I think Ryan Stewart lurks here, he's got Michael K. May 9, 2012 1:30 PM
Any Flex guys and gals in the crowd? - Just curious if any of you have played with Flex with any seriousness. Opinions? -- Jd Daniel SS DEV | Jd D. May 9, 2012 1:21 PM
Re: [php-49] Variable Passing between Classes - Without knowing it, I was already using the basic premise behin d "Dependency Injection", I had not taken it Eric H. May 9, 2012 11:25 AM
Re: [php-49] Variable Passing between Classes - Thanks guys. I totally agree $GLOBALS or global is not a great way to go. While those work and do the job, they don't feel like they are the best. I agree, Jeremy, taking a better look at how that data is used and perhaps reworking that would m Eric H. May 8, 2012 9:34 PM
Re: [php-49] Variable Passing between Classes - Hi Eric, It's a good thing that you are moving away from $GLOBALS (and please don't be tempted to use 'global' as well). I believe using a singleton should suffice but it seems like you are still looking for a subjective "best" solution. We can only Ariz J. May 8, 2012 8:41 PM
Re: [php-49] Variable Passing between Classes - Preview not available Joshua I. C. May 8, 2012 6:39 PM
Re: [php-49] Variable Passing between Classes - Preview not available Jeremy Cole L. May 8, 2012 6:29 PM
Re: [php-49] Variable Passing between Classes - There's also the global keyword... _dave = &$dave; echo "Dave is: " . $this- Greg B. May 8, 2012 6:25 PM
Re: [php-49] Variable Passing between Classes - Hi Eric, I think you are right into the answer here, indeed, I've used singleton pattern exactly for this case of providing "global config" for an instance. Best, Abe On Tue, May 8, 2012 at user 3. May 8, 2012 6:23 PM
Variable Passing between Classes - I am working on learning various OOP Design Patterns. However, I have always come across one specific problem that I can never seem to find a "good" answer for. That is making specific variables available acr Eric H. May 8, 2012 5:37 PM
Re: [php-49] Finalized topics for May-2012 Meetup - I won't be able to be there due to a conflict, but I heard Sean Williams talk at a different meeting and mentioned it to David at the last PHP meetup.  If you want to read ahead and be prepared with questions, you should read Sean&# Sean K. May 8, 2012 11:51 AM
Re: [php-49] Automated Functional Testing for CodeIgniter - I've done some work with RobotFramework implementing the Selenium driver.  Seems to work pretty good in supported browsers.  Also spits out beautiful results. On Tue, May 8, 2012 at 9:41 AM, Shivaas Gulati Joshua I. C. May 8, 2012 10:28 AM
Re: [php-49] Automated Functional Testing for CodeIgniter - Fully automated Functional tests. We've integrated phpunit for unit testing. On Tue, May 8, 2012 at 9:36 AM, Tim Piele < [address removed] Shivaas G. May 8, 2012 9:41 AM
Re: [php-49] Automated Functional Testing for CodeIgniter - Fully Automated or just unit testing? Sent from my iPhone On May 8, 2012, at 9:17 AM, Shivaas Gulati < shiva Tim P. May 8, 2012 9:36 AM
Automated Functional Testing for CodeIgniter - Hey everyone Curious if anyone here has implemented any automated functional testing frameworks for their codeigniter applications. Any pointers to articles, tutorials, experiences would be greatly appreciated :) Shivaas G. May 8, 2012 9:16 AM
Re: [php-49] Finalized topics for May-2012 Meetup - Preview not available Joshua I. C. May 7, 2012 5:28 PM
Re: [php-49] Finalized topics for May-2012 Meetup - Preview not available Mark S. May 7, 2012 5:00 PM
Re: [php-49] Finalized topics for May-2012 Meetup - Just recorded to the hard disk. I didn't have time to setup a stream and internet was a little spotty at that location anyway.  If the new location has solid internet and if someone with experience getting a windows setup streaming could give me a ha Joel S. May 7, 2012 4:52 PM
Re: [php-49] Finalized topics for May-2012 Meetup - Preview not available Mark S. May 7, 2012 4:44 PM
Re: [php-49] Finalized topics for May-2012 Meetup - Preview not available Joshua I. C. May 7, 2012 4:37 PM
Re: [php-49] Finalized topics for May-2012 Meetup - I'll give it a shot.  Audio was the main issue for my setup last time.  I'm using a MS Lifecam HD camera attached to my laptop.  Any ideas?  Capture the audio separately? Thanks, Joel Joel S. May 7, 2012 4:31 PM
Re: [php-49] Finalized topics for May-2012 Meetup - Probably not... unless someone wants to record it! Anyone? David Malouf On May 7,[masked]:59 PM, "Joshua I. Carter" < [address removed] > wrote: > > I David M. May 7, 2012 4:21 PM
Re: [php-49] Finalized topics for May-2012 Meetup - Preview not available Joshua I. C. May 7, 2012 3:59 PM
Re: [php-49] Finalized topics for May-2012 Meetup - Preview not available Jeremy Cole L. May 7, 2012 3:54 PM
Re: [php-49] PHP CGI exploit - @Joel: I don't think Facebook is affected and the revealed source code is actually intentional for recruiting Security Engineers[1] Ref: [1] https://www.facebook.com/caree­rs/department?dept=engineering­&req=a2KA0000000Lt8LMAS Ariz J. May 7, 2012 2:04 PM
Re: [php-49] Finalized topics for May-2012 Meetup - It sounds like fun to me! By the way, it's just Jeremy :-) -- Jeremy Lindblom On May 5, 2012, at 12:30 PM, David Malouf < emailthedavid@gmail.c Jeremy Cole L. May 5, 2012 12:48 PM
Finalized topics for May-2012 Meetup - 1) Linux Security by Sean Williams (who KNOWS what he's talking about). 2) PHP 5.4 -- new features (part 1) by Jeremiah Lindblom (Amazon) and David Malouf (Thomson Reuters) Plus the usual time to find work, offer work, mee David M. May 5, 2012 12:29 PM
Re: [php-49] PHP CGI exploit - OMG   https://www.facebook.com/?-s   Thanks, Joel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~­~ Joel S. May 4, 2012 11:32 PM
PHP CGI exploit - http://eindbazen.net/2012/05/p­hp-cgi-advisory-cve-2012-1823/­ From the article: We found that giving the query string ‘?-s’ somehow resulted in the “-s” command line argument being passed to php, resulting in source code disclosure. A spot Nick J. May 4, 2012 10:24 PM
Re: [php-49] check this out - Yes, you all should definitely check this out. Amazing IDE. On May 4,[masked]:04 AM, "Tim Piele" < [address removed] > wrote: Cristina May 4, 2012 11:25 AM
check this out - Thanks to Cristina for passing it on to me: http://www.kickstarter.com/pro­jects/ibdknox/light-table/post­s Tim P. May 4, 2012 11:04 AM
I'm thinking about presenting next week on PHP 5.4 -- anyone want to co-present? - Per last month's ginormous list o' ideas, I'm thinking about putting together a presentation on the features of PHP 5.4 at next week's Meetup. Anyone want to do this with me?  Or many of you?!? David M. May 3, 2012 6:46 PM
Awesome Plugin - https://addons.mozilla.org/en-­US/firefox/addon/typegauge/ I added a screenshot of what it does... Tim P. May 3, 2012 11:04 AM
Re: [php-49] CI Bonfire? - Cool look forward to hearing about it. On Wed, May 2, 2012 at 11:13 PM, Joshua I. Carter wrote: > I am the grave digger! > > I just started a personal project that I've been meaning to do for over a > year now.  I've decided to u Mark S. May 3, 2012 9:51 AM
Re: [php-49] CI Bonfire? - I am the grave digger! I just started a personal project that I've been meaning to do for over a year now.  I've decided to use CIBonfire as the development environment. I'll keep you guys updated on how this framework is for dev Joshua I. C. May 2, 2012 11:12 PM
Re: [php-49] Database Versioning - My experience is pretty much inline with Josh's experience with DBDeploy.  I played around with it and it seemed to do what it is supposed to do, but I never ran it in a production setting.  We ended up going the ORM route with Doctrine...and the ex Joel S. May 2, 2012 10:54 AM
Re: [php-49] Database Versioning - Jd Well I don't have an out of box solution for you, but I did hav Josh Y. May 2, 2012 10:37 AM
Re: [php-49] Database Versioning - Couldn't you set up one dev database on a remote server that all the devs could hit? On Tue, May 1, 2012 at 4:20 PM, Jd Daniel < [address removed] Greg B. May 2, 2012 10:03 AM
Re: [php-49] Database Versioning - Roughly, we include table/schema and non-user data (ex. CMS layouts) in a given code push/build.  Extra work and we potentially miss important items, but it's what we do. David On May 1,[masked]:55 PM, &q David M. May 2, 2012 9:02 AM
Re: [php-49] Database Versioning - If you have the luxury you could look an Orm that allows you to create your schema from flat files. The only example I can think of is how ror does it. Maybe doctrine?  Otherwise I Mark S. May 2, 2012 8:52 AM
Re: [php-49] MySQL FULLTEXT Search Question - I don't want any idiots... errr I mean users... adding their own ANDs and ORs that could asspload the website!!! Haha... JD had the idea while driving home in his Pinto to explode() the string into words and add the plus signs back in a Tim P. May 1, 2012 5:44 PM
Re: [php-49] Database Versioning - @Mr. Piele Yeah Tim but the devs are local copies, which bricks it, like right now we're having a separation between me and three other people cuz our DB's are completely out of sync with each other. Jd D. May 1, 2012 4:20 PM
Re: [php-49] Database Versioning - So, here's the approach that I've taken. First, a few assumptions: - Your problem is mostly restricted to database sch Michael K. May 1, 2012 4:16 PM
Re: [php-49] Database Versioning - This might not be too helpful if it's only the contents of the database that need to be versioned, but if it's the schema, version controlled delta scripts might be the answer.   http://dbdeploy.com/   Joel S. May 1, 2012 4:10 PM
Re: [php-49] MySQL FULLTEXT Search Question - Hey HEY H E Y.... I don't drive no stankin Pinto.... On Tue, May 1, 2012 at 4:02 PM, Tim Piele < [address removed] > Jd D. May 1, 2012 4:06 PM
Re: [php-49] MySQL FULLTEXT Search Question - I don't think you need to break up the words - couldn't you just: $this->db->where('MATCH (engines.engine, makes.make, models.model) AGAINST ('. $search_term .' IN BOOLEAN MODE'); This lets the user enter AND or OR in their search term. You'll wan Brian J. May 1, 2012 4:05 PM
Re: [php-49] Database Versioning - Check out  http://www.marco.org/2010/11/2­0/instapapers-backup-method This is very similar to what Tim recommended, but uses mysql master slave replication an Shivaas G. May 1, 2012 4:04 PM
Re: [php-49] MySQL FULLTEXT Search Question - Any bodies? On Tue, May 1, 2012 at 1:43 PM, Tim Piele < [address removed] > wrote: Tim P. May 1, 2012 4:01 PM
Re: [php-49] Database Versioning - Could you have two databases side by side, one live and one dev and run a CRON every hour or so that copies the live over to dev, and then in your MVC put a switch in the config file for whether to use the live or dev database? Tim P. May 1, 2012 4:00 PM
Database Versioning - So guys we ran into a brick wall with our CMS here at work with our plethora of dev, staging and live builds. The issue is that not only our FILES but also parts of our DB come into play as we're working on modif Jd D. May 1, 2012 3:55 PM
MySQL FULLTEXT Search Question - Maybe a herpa derp... but: Say I have a Where clause like below for doing FULLTEXT searching: (it's in CodeIgniter syntax) $this->db->where('MA­TCH (engines.engine, makes.make, models.model) AGAINST ('+first_word +second_wor Tim P. May 1, 2012 1:42 PM
Re: [php-49] Scoping OOP Question - Believe you'd want to use protected vs private. http://php.net/manual/en/langu­age.oop5.visibility.php On Mon, Apr 30, 2012 at 9:46 PM, Joel Simp Joshua I. C. Apr 30, 2012 10:49 PM
Re: [php-49] Scoping OOP Question - Preview not available Jeremy Cole L. Apr 30, 2012 10:49 PM
Scoping OOP Question - Short of PHP 5.4 and traits is there a way to get access to private variables in child class within a function defined in the base class?  I don't want to have to put the following bit of code in all of my entity classes, but I can't seem to get Joel S. Apr 30, 2012 9:46 PM
Re: [php-49] SSL+Apache Configuration Nightmare - @Walter Lol looks like you beat me by 2 minutes!  ;) --Kris On Mon, Apr 30, 2012 at 6:03 PM, Kris Crai Kris C. Apr 30, 2012 6:10 PM
Re: [php-49] SSL+Apache Configuration Nightmare - Oh and also, I did NOT have to change the SSLCACertificateFile.  Looks like I already had that right (assuming the testing confirms that lol).  So for the record, it appears as though you'd want it to be pointing to ca.crt as Kris C. Apr 30, 2012 6:02 PM
Re: [php-49] SSL+Apache Configuration Nightmare - Ok, I think I have it figured out.  The .csr file was a red herring.  I was able to get it working without copying any .csr file to anywhere.  Of course, I'll need to run about a gazillion tests to make sure it actually is Kris C. Apr 30, 2012 6:00 PM
Re: [php-49] SSL+Apache Configuration Nightmare - I got real busy over the last week and was not able to work on this project (busy every night since I sent the last email). Then I got busy over the weekend (helping moving a friend and a wedding anniversary). Copy to CA means to eith Walter P. Apr 30, 2012 5:57 PM
Re: [php-49] SSL+Apache Configuration Nightmare - Or better yet, could somebody just tell me how I'm supposed to generate an SSLCACertificateFile that includes my client certs?!  I know that it's supposed to be a concatenation of something and PEM-encoded, but I'm rea Kris C. Apr 30, 2012 5:30 PM
Re: [php-49] SSL+Apache Configuration Nightmare - Walter (et al), I never heard back from ya so I went ahead and slogged through this over the weekend.  There's one final step you mentioned that I don't unde Kris C. Apr 30, 2012 3:10 PM
Re: [php-49] Determining server needs based on traffic? - Hi Mark, You can ask your hosting provider about their performance benchmarks and SLAs, or you can leverage existing benchmarks that matches (or closely matches) the architecture of your hosting provider to give you a hint about what's the performan Ariz J. Apr 30, 2012 10:37 AM
Re: [php-49] Determining server needs based on traffic? - I'm curious when you don't actually have access to the application or server (e.g. your in rfp mode) how do you determine #4? Even if you have server access how do you determine what the max # of connections you can handle? Do you just run a load teste Mark S. Apr 30, 2012 10:14 AM
Re: [php-49] MVC: Does, Don'ts, and Tips - +1 on Jeremy's Obi-Wan quote. Keep in mind that a lot of PHP-based sites preceded these MVC frameworks. In fact, some of the companies behind these websites are still using their own MVC framework because their framework is optimized and tailored to Ariz J. Apr 27, 2012 5:54 PM
Re: [php-49] Cross Table JOIN error? - Gotta love cryptic SQL Errors, well there's really just one: "hey dumbass, you typed something wrong somewhere in your query. Go re-read the entire fucking manual and try and guess what's wrong." it never gi Tim P. Apr 27, 2012 5:39 PM
Re: [php-49] Determining server needs based on traffic? - I'll second Ariz in here, the most important thing is to be able to handle the peak traffic. To start with, you can find out the maxinum concurrency in the peak time. Depends on your webservers (Apache/NGINX/IIS), you can find user 3. Apr 27, 2012 5:36 PM
Re: [php-49] Determining server needs based on traffic? - Hi Mark, You should not plan for a 10k _per_day_ capacity since traffic are spread differently throughout the day. Here are some of the things that you need to consider to determine if your site's capacity is greater than your projected traffic: Ariz J. Apr 27, 2012 5:18 PM
Re: [php-49] Cross Table JOIN error? - Sometimes my brain just get confused and I got to Google it up working with this kind update from join since T-SQL MSSQL and MySQL have different syntax to do this exact thing ...  user 3. Apr 27, 2012 4:13 PM
Re: [php-49] Cross Table JOIN error? - Yeah that FROM was what bricked me to start with, I forgot that you can't use it in a cross table join =( bad jd.... On Fri, Apr 27, 2012 at 1:49 PM, Mark Steudel Jd D. Apr 27, 2012 3:46 PM
Re: [php-49] Adding extensibility / modularity to applications - I know you are talking in abstract here but doesn't zf already have module/plugin system? Sent from my iPhone On Apr 27, 2012, at 12:43 PM, Jack Peterson < Mark S. Apr 27, 2012 1:49 PM
Re: [php-49] Cross Table JOIN error? - I think it's the from ... Sent from my iPhone On Apr 27, 2012, at 12:38 PM, Jd Daniel < [address removed] > wrote: Mark S. Apr 27, 2012 1:48 PM
Re: [php-49] Cross Table JOIN error? - Indeed, good to know. Not sure why I thought that. I guess the error was the extra FROM in your original query. Nonetheless, the one I offered should work. Cheers, --Matthew On Fri, Apr 27, 2012 at 1:01 PM, Jd Daniel wrote: Matt F. Apr 27, 2012 1:26 PM
Re: [php-49] Cross Table JOIN error? - Absolutely not true. UPDATE   cataloginventory_stock_item AS csi   JOIN cata Jd D. Apr 27, 2012 1:01 PM
Re: [php-49] Cross Table JOIN error? - Hi Jd, As far as I know you can't use the JOIN keyword with UDPATE, instead you can just do the JOIN using a where. Try the following: UPDATE catalog_product_entity cpe, cataloginventory_stock_item csi, catalog_product_entity_varchar­ cpev SET cp Matt F. Apr 27, 2012 12:46 PM
Re: [php-49] Adding extensibility / modularity to applications - Dan, thanks for the reply. Mu focus here is to gain a high level view of creating a plugin system, comments being the most easu to think of... But lets add some other examples... Some potential plugins: Voting Social share User p Jack P. Apr 27, 2012 12:43 PM
Cross Table JOIN error? - I suck at this I swear.... UPDATE   FROM cataloginventory_stock_item Jd D. Apr 27, 2012 12:37 PM
Re: [php-49] Adding extensibility / modularity to applications - Preview not available Dan M. Apr 27, 2012 11:17 AM
Re: [php-49] Adding extensibility / modularity to applications - Preview not available Joshua I. C. Apr 27, 2012 11:13 AM
Re: [php-49] Adding extensibility / modularity to applications - Preview not available Jeremy Cole L. Apr 27, 2012 11:09 AM
Re: [php-49] Adding extensibility / modularity to applications - Keeping things abstract-ish, you could define a view with a form for posting comments, and then include that view inside of existing views where you want someone to be able to comment, and maybe pass a parameter to the comment vie Dan M. Apr 27, 2012 11:04 AM
Adding extensibility / modularity to applications - All, I'm looking for some thoughts regarding how one would go about creating a module/plugin system for an application. I'm loosely familiar with various design patterns but none of them really seem to fit at a first-glance how one would go Jack P. Apr 27, 2012 10:50 AM
Re: [php-49] Determining server needs based on traffic? - Preview not available Greg B. Apr 26, 2012 11:47 AM
Re: [php-49] Determining server needs based on traffic? - Preview not available Jeremy Cole L. Apr 26, 2012 10:09 AM
Re: [php-49] Determining server needs based on traffic? - Hi Mark, I can address the AWS part of this question: There's not too many changes you have to make. The biggest thing in my opinion is you'll want to host all your static assets in S3. This also will allow you to use CloudFront CDN which will hel Matt F. Apr 26, 2012 9:41 AM
Determining server needs based on traffic? - How do you guys estimate how much server you need based on your traffic? I'm looking at transferring a e-learning site over that consists of a bunch of flash activities that send data to a php layer which gets saved to a db. Currently they get around 6 Mark S. Apr 26, 2012 9:24 AM
Re: [php-49] MVC: Does, Don'ts, and Tips - Erik, I can relate to the confusion regarding how MVC actually works. When I was first learning MVC ... it was a massive headache. Fortunately, there are some great resources out there. If you are looking for a pro Jack P. Apr 26, 2012 8:37 AM

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy