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. You can get these custom made: http://www.thisiscolossal.com/2012/09/the-oree-wireless-wooden-keyboard
  3. 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.
  4. 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.
  5. 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.
  6. Nope. You haven't specified what is being duplicated and your code makes for very hard reading.
  7. 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.
  8. Great little framework. We've built a few apps with it at work. Still evaluating really, but yeah, it's pretty cool.
  9. Nothing relating to any foreach has changed between any update.
  10. Indeed we do: http://forums.phpfreaks.com/topic/182040-which-php-editor-do-you-think-is-the-best-v2
  11. Google "HTML WYSIWYG editor". There should be plenty of results.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. A little of topic but Photograph doesn't sound like a type of database_object, why is it extending it in the first place?
  17. Loops are covered in any php 101 lesson. You need to learn some basics.
  18. There is no limit on file includes. What is the problem exactly?
  19. 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.
  20. Too much code not enough information.
  21. You must have missed this? http://forums.phpfreaks.com/topic/150979-this-board-is-not-a-code-repository/
  22. 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.