Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Says who? I see members here using php for more than 3-4 years with a full lack of basic knowledge in php. Why? Because, most of them preffer watching youtube tutorials instead to start reading the API documentation for instance. That is just because people are lazy. There are a lot of people who think they want to be programmers but can't actually be bothered putting in any effort to learn to program.
  2. Why? This is not how you write software.
  3. Add the mapping to your /etc/hosts file.
  4. You can get these custom made: http://www.thisiscolossal.com/2012/09/the-oree-wireless-wooden-keyboard
  5. The first chapter is the mentioned book should indeed be enough to open your eyes to the benefits. They have a DI container, yet they promote calling all your classes using their static operator, yeah... no! Obviously you haven't seen how there facades work.
  6. Have you tried reading some documentation? TinyMCE is very well documented. Where exactly are you stuck? If your reply is "I just can't get it working" or similar your in the wrong game.
  7. It's really not clear what your goals are here sorry. How/Why exactly are you planning on using the results from a SELECT statement to build an UPDATE statement? A bit OT too but why the while() loop? ps: Just because your using classes, doesn't make your code OOP either. There is a hell of a lot more to it than that.
  8. Nope. You haven't specified what is being duplicated and your code makes for very hard reading.
  9. Oh... and speaking of which. Every developer should read at least the first chapter of this: https://leanpub.com/laravel-testing-decoded The first chapter nails why we should all be "testing all the things". For that alone, it's worth the $15. Looking forward to reading the rest.
  10. Great little framework. We've built a few apps with it at work. Still evaluating really, but yeah, it's pretty cool.
  11. Nothing relating to any foreach has changed between any update.
  12. Indeed we do: http://forums.phpfreaks.com/topic/182040-which-php-editor-do-you-think-is-the-best-v2
  13. Google "HTML WYSIWYG editor". There should be plenty of results.
  14. There are plenty of benefits to using buffers in the context of template rendering. Having the ability to load template data into a specific scope without it displaying there and then is one of them.
  15. Thanks man, but Proem has fallen over probably six months ago. The birth of my son was 8 months ago and I have since had a major priority shift. I'm pretty happy just working my 9-5 at the moment, plenty enough challenges there so.... I doubt that will every change. This community doesn't have the same focus as a community centered around some OSS project.
  16. I don't. Ive looked hard for a use case, and have even attempted to force myself to use them in some cases, but they have never felt right. There is always a better way, and IMO, I'd just avoid traits all together. I really don't understand how things like traits get into the language yet things like property accessors don't. os and ps: It's great to see you back around these parts John.
  17. trq

    Smarty

    We use smarty at work and it is a bloated unnecessary PITA. I see very little benefit to templating engines in general and Smarty especially.
  18. A little of topic but Photograph doesn't sound like a type of database_object, why is it extending it in the first place?
  19. Loops are covered in any php 101 lesson. You need to learn some basics.
  20. There is no limit on file includes. What is the problem exactly?
  21. Curl is a pretty simple tool that follows the typical unix philosophy so can be scripted in pretty much any language available. You might want to define what exactly you want this "tool" to do.
  22. Too much code not enough information.
  23. Ridiculous.
  24. You must have missed this? http://forums.phpfreaks.com/topic/150979-this-board-is-not-a-code-repository/
  25. This can be done quite easily using the proper libraries. We use phatom.js at work to take screen captures for various reasons. It's an awesome library.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.