Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
PHP Programming

PHP Programming

a feed for everything related to & everyone interested in PHP Programming.
Custom RSS/AtomCustom RSS/AtomCustom RSS/Atom
PHP Programming
REST: Alternatives to Slim? - http://www.reddit.com/r...
For a couple of days I've working on building a small rest json-based backend api. No html, no templates, just json in and out. At first, Slim seemed the right tool for the job, small and simple.. I got it working in a couple of hours, but when I needed to add json-support bad smells started to appear. Handle the incoming json was a no-brainer ... I've added the right Middleware and job done; but the output-side was a completely different story -- it works but it's an ugly hack, and one I'm not proud of. Slim was desinged with the notion that the view render templates, one after other, which doesn't play nice with my output this thing as a json string I'm thinking on replacing Slim with some other better tool. Can you think on a better tool for the job? submitted by eridal [link] [1 comment]
PHP Programming
Can someone tell me about object oriented programming? - http://www.reddit.com/r...
I am fairly new to php but I really never came across any kind of object oriented programming. I may have but I just am not clear on what it is. Can someone tell me what is it and is it useful? submitted by kevincrabbe [link] [comment]
PHP Programming
bottomline - useful feature pack, port of lodash - http://www.reddit.com/r...
submitted by MaciejCzyzewski [link] [comment]
PHP Programming
What stuff can you do with PHP? Or more spefically, stuff that is either only exclusive to PHP or done better in PHP. - http://www.reddit.com/r...
Hello Reddit. I been learning about web development for about the past 6 Months and have mainly worked with HTML, CSS and a little jQuery. I am right now learning PHP but I wondering what kind of useful or interesting stuff you do with PHP that necessarily be best done with javascript. I am only interested in hearing any tips or tricks with PHP and a lesser extent with databases as I plan as one first projects with PHP is to create a website for my high school's Student Government with wordpress. Thanks for all the replies in advance! submitted by xinkecf35 [link] [8 comments]
PHP Programming
Automatic UML class diagram generation for PHP code - http://www.reddit.com/r...
submitted by PiZZaMartijn [link] [comment]
PHP Programming
Dealing with older PHP environments while maintaining good OOP principals - http://www.reddit.com/r...
I'm currently stuck in PHP 5.2.5 and have been tasked to "revamp" our inventory/asset system. Currently the tables are not properly normalized. The code is completely procedural and relies heavily on mysql_. My approach is to throw it all out, but I would like to replace it with a framework. I've began the project in CI (from GIT), but I'm concerned the project is becoming heavily framework dependent and I plan to move to a modern framework once I can get a few of the legacy apps up to par to work with PHP 5.4+. How far is taking it too far with abstraction? Should I consider abstracting from the framework (a la adapters out the ass)? This, to me, seems to be taking it too far. Should I write the application as a library and just use models for data requests? Also, is there a framework that you could recommend for an older environment like this? I'm not opposed to slim frameworks that just handle auto-loading and routing - but haven't seen any that work on legacy version of PHP. Sorry...
PHP Programming
Wikimedia is Moving to HHVM - http://www.reddit.com/r...
submitted by freebit [link] [11 comments]
PHP Programming
PHPNG vs. HHVM? - http://www.reddit.com/r...
It's obvious that PHPNG is going to require a ton of work before it is ready for production use. However, HHVM seems offer many of the same features, is already faster than PHPNG, and is more stable. Also, HHVM has a ton of room for improvement of its JIT compiler meaning that we still have lots of room for further speed improvements. Does anyone think that HHVM could be a better PHP solution than PHPNG in the next year or two? submitted by freebit [link] [6 comments]
PHP Programming
15 Best PHP Frameworks 2014 - http://www.dzone.com/links...
PHP frameworks are mostly used for web programmers. With the help of these frameworks you will build software applications easily. PHP is the most powerful platform for web programmers, because almost web is powered by php. PHP frameworks are more useful tools when it comes to web development, as they are time consuming when preparing and maintenance of your important PHP web applications.
PHP Programming
Can anyone tell me what this is, and what it does? - http://www.reddit.com/r...
submitted by i_hope_we_both_die [link] [11 comments]
PHP Programming
As someone who hasn't been following can someone give me an idea of what to expect w/ PHPNG. - http://www.reddit.com/r...
submitted by SaltTM [link] [9 comments]
PHP Programming
[RFC] Name of the Next Major PHP Release (6 or 7) VOTE REOPENED - http://www.reddit.com/r...
submitted by dshafik [link] [39 comments]
PHP Programming
What small(ish) github projects do you have that other people might be interested in contributing to? - http://www.reddit.com/r...
I've been thinking about this lately... the mature PHP projects deserve lots of attention, some more than they get, but many of the mature projects are inaccessible to all but the most expert developers. I know that I have about a half dozen projects though that aren't really there for anything except that I find the process of doing them interesting. For instance my SimpleProfiler repo is a stopwatch utility that I made, essentially, because I was bored and also needed a profiler. There are some more mature tools that do this, but I just felt like doing it. These are the kinds of projects that more novice or intermediate developers could contribute to, for a few reasons: They aren't meant to be released, so there's no userbase out in the wild to support. They aren't meant to be deployed (necessarily), so the security concerns are not a rigorous. These sorts of projects rarely get the "full" attention of the person doing it, so there's probably something useful to do. If any truly...
PHP Programming
Opcache integrated into php core since version 5.5, but why do I feel I still have to install it separately? - http://www.reddit.com/r...
So my understanding is that Zend Opcache has been integrated in the php core since version 5.5. However, when I set up a server with php 5.5, and I do a phpinfo(), an Opcache reference is nowhere to be found, and my scripts do not seem to be accelerated. Then if I install the opcache extension, everything seems to be working fine, both in the phpinfo() and in the speed improvements. Is there something I'm missing? submitted by sodaco [link] [12 comments]
PHP Programming
Facebook Shepherding a PHP Language Spec - http://www.reddit.com/r...
submitted by dshafik [link] [27 comments]
PHP Programming
Highly Available PHP sessions using memcached 4 Coherence - http://www.dzone.com/links...
We (C2B2) announced in our blog a new github project memcached-4-coherence that provides a memcached protocol interface to the Oracle Coherence In-memory Data Grid. One advantage of putting a memcached interface onto Oracle Coherence is that many different web technologies and languages support the memcached protocol for storing session state and we can use that fact to store sessions directly into Oracle Coherence.
PHP Programming
PHPRFC: Internals Logo - http://www.reddit.com/r...
submitted by ircmaxell [link] [22 comments]
PHP Programming
How to Approach Application Failures in Production - http://www.dzone.com/links...
See how application failures in production could be tackled in minutes, not weeks by being able to give answers to your most urgent questions: "How many users are affected and who are they?" and "What is the root cause?".
PHP Programming
HHVM: The new PHP? - http://www.dzone.com/links...
The new kid on the block is HHVM, an alternative runtime for PHP. Will HHVM replace PHP? Should you care?
PHP Programming
Handling 1 Billion requests a week with Symfony2 - http://www.reddit.com/r...
submitted by dadamssg [link] [6 comments]
PHP Programming
Servers for Hackers: eBook - http://www.reddit.com/r...
submitted by fideloper [link] [1 comment]
PHP Programming
Cinematograph : A simple animation maker from sequential images to produce the illusion of motion - http://www.reddit.com/r...
submitted by masihyeganeh [link] [comment]
PHP Programming
I'm learning PHP, help me with mysqli - http://www.reddit.com/r...
Hi all, I want to write a usefull class for easy manage MySql database using mysqli. How can I write a class db.php to do this, with also error managing to see when and what something go wrong? $my_db = new db("host","user","pass","db_name"); $my_db->connect(); $result = $my_db->$exeQuery("SELECT * FROM table WHERE tag = "hello"); $my_db->disconnect(); Can you help me? submitted by Dom9301 [link] [5 comments]
PHP Programming
Fetching Gifs from Reddit.com since 2013 - http://www.reddit.com/r...
Basically I am trying to build an app which will depend on Reddit API for GIF images. So I need to fetch all data through the Reddit API since 2013 so that I can list the GIFs in my app. Let Me know how can I specifically retrieve this specific data for a certain time period (Jan 2013 till date) as I could not find any such request parameters in the API documentation. submitted by susheelkumar [link] [1 comment]
PHP Programming
What happened to the vote on naming PHPNG PHP6 vs PHP7? - http://www.reddit.com/r...
There was a vote to pick the name for the next major version. It had about 20 votes last time I checked, but now voting has closed? Anyone know what happened? submitted by scottchiefbaker [link] [17 comments]
PHP Programming
What is the best way to go for PHP and Javascript internalization/localization integration? - http://www.reddit.com/r...
I'm building a framework and trying to figure out the best way to have the possibility of using the same language string files in both PHP and Javascript. Ideally something would be available with bower on the javascript side and composer or PECL on the PHP side. I'm thinking that I should use JSON to be able to more easily inter-operate and that I could cache the JSON as a PHP array somehow if ever needed to optimize. [edit] (PHP and Javascript Internationalization using Gettext and Poedit)(http://www.pontikis.net/blog...). submitted by destraht [link] [comment]
PHP Programming
[RFC] Use phpng as the base for the next major version - http://www.reddit.com/r...
submitted by dshafik [link] [15 comments]
PHP Programming
Suhosin comes back from the dead, bringing security to newest PHP versions - http://www.reddit.com/r...
submitted by jpb0104 [link] [3 comments]
PHP Programming
Pagekit – A new, modern CMS built with Symfony components - http://www.reddit.com/r...
submitted by gooserider [link] [29 comments]
PHP Programming
A PHP console Debugger [FirePHP/php-console] that works cross-browser? - http://www.reddit.com/r...
Is there a PHP console Debugger that works cross-browser? FirePHP is Firefox only. php-console is Chrome only. Chrome Logger (formally ChromePHP) is also Chrome only. Is there one that works cross browser? I want to get one of these integrated in our code base, but I hate the limitation to 1 browser. Some people like Fx, others like Chrome. I personally use Opera and Chrome for the console, using php-console in my local dev env. Are there other options out there? submitted by guice666 [link] [11 comments]
Other ways to read this feed:Feed readerFacebook