trq
Staff Alumni-
Posts
30,999 -
Joined
-
Last visited
-
Days Won
26
Everything posted by trq
-
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.
-
how to inclued more then 10 php file .........in a main php.......?
trq replied to ShivaGupta's topic in PHP Coding Help
Why? This is not how you write software. -
How to Access Same Website Locally and Non-locally?
trq replied to fastpurplemedia's topic in Miscellaneous
Add the mapping to your /etc/hosts file. -
You can get these custom made: http://www.thisiscolossal.com/2012/09/the-oree-wireless-wooden-keyboard
-
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.
-
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.
-
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.
-
Nope. You haven't specified what is being duplicated and your code makes for very hard reading.
- 5 replies
-
- php
- codeigniter
-
(and 2 more)
Tagged with:
-
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.
-
Great little framework. We've built a few apps with it at work. Still evaluating really, but yeah, it's pretty cool.
-
Nothing relating to any foreach has changed between any update.
- 5 replies
-
- php
- codeigniter
-
(and 2 more)
Tagged with:
-
Indeed we do: http://forums.phpfreaks.com/topic/182040-which-php-editor-do-you-think-is-the-best-v2
-
Google "HTML WYSIWYG editor". There should be plenty of results.
-
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.
-
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.
-
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.
-
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.
-
Need help accessing an attribute from parent class
trq replied to eldan88's topic in PHP Coding Help
A little of topic but Photograph doesn't sound like a type of database_object, why is it extending it in the first place? -
Loops are covered in any php 101 lesson. You need to learn some basics.
-
how to inclued more then 10 php file .........in a main php.......?
trq replied to ShivaGupta's topic in PHP Coding Help
There is no limit on file includes. What is the problem exactly? -
is there any tool for curl scripiting............plz advice.........
trq replied to ShivaGupta's topic in PHP Coding Help
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. -
Too much code not enough information.
-
Ridiculous.
-
You must have missed this? http://forums.phpfreaks.com/topic/150979-this-board-is-not-a-code-repository/
-
Take Screenshot of a Site without opening browser
trq replied to tripura4u's topic in Third Party Scripts
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.