Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Don't convert newlines to <br /> when storing in the database, only when you need to display your data within html.
  2. Your logo looks very familiar. In fact I'm sure it's an old PHP architect logo.
  3. Not with HTML.
  4. Sorry, what exactly do you mean?
  5. You must have missed the big sticky at the top of this board huh?
  6. HTML5 allows custom data attributes, there basically a place to store extra data relating to an element. This data can then be selected and used within JavaScript. See here
  7. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=335506.0
  8. PHP doesn't work like this. Some things that do are Node.js or Ruby's Goliath framework.
  9. This topic has been moved to Application Design. http://www.phpfreaks.com/forums/index.php?topic=335479.0
  10. Can you please be a little more vague?
  11. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=335458.0
  12. Extending a Main Core class is ridiculous, are all your classes the same type? The best thing you can do is use some form of dependency injection to inject the database object into classes that need it. The simplest form of dependency injection is simply passing the required object into the constructor of the class that needs it. Of course, the object that needs it should also verify it understands the API of the object being passed in (you can do this easily enough using interfaces or an abstract database object).
  13. There can be a fair bit more to it than simply parsing the url for different segments. It's not exactly something that would be easily described within a simple forum post. I would take a look at some of the other frameworks and in particular there routing. If your looking for something simple to use as an example, my framework (Proem) linked to via the Github link in my signature has a fairly basic routing system (still incomplete).
  14. Hmmm, I smell spam.
  15. There is no definitive answer, just opinion. Often the one that is well suited to your style of development and specific project requirements will be the best one to use.
  16. I used to use dynamically loading js, but it ended up being allot more efficient to put all js into one file and the minify it. Its the actual http requests to multiple files that hurts more than size. Of course it would also depend on what sizes where talking about. Loading a 50k-80k file just to use one function etc etc.
  17. Have you checked out some of the editors mentioned in this thread?
  18. This board is here for questions directly relating to already existing Third Party code. It is NOT a code repository or the place to post requests looking for specific scripts. If you can't find the script you are looking for on Google, you either don't know how to use Google or the specific script does not exist. DO NOT request help with searching.
  19. I'm not sure how that would be achieved through php. The rule is that you use a before words that start with a consonant sound and an before words that start with a vowel sound.
  20. You'll need to be more descriptive. Your example makes little sense to me.
  21. Netbeans 6.8 does seem even better than 6.7. Many improvement + it does seem more responsive.
  22. Iv'e not noticed any performance lag with Netbeans excepting maybe when it initially scanning my projects. Even then, I think its only because the drives my projects are hosted on are remote (LAN).
  23. Iv'e been using vim for years though have been loving Netbeans since I programming work full time.
  24. Doesn't really make sense. They both serve a completely different purpose.
  25. This board is here for questions directly relating to already existing php applications. It is NOT a code repository or the place to post requests looking for specific applications. If you can't find the application you are looking for on google, you either don't know how to use google or the specific application does not exist. DO NOT request help with searching.
×
×
  • 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.