Posts

Showing posts with the label PHP

Notepadqq...Linux source editor -AlternativeTo- Windows Notepad++

Image
Notepadqq Is a Notepad++-like editor for the Linux desktop. Its still Under development but with great future and simplicity just as it is with Microsoft Windows Notepad++. Visit Official Website for more info.. It helps developers by providing all you can expect from a general purpose text editor, such as syntax highlighting for more than 100 different languages, code folding, color schemes, file monitoring, multiple selection and much more. You can search text using the power of regular expressions. You can organize documents side by side. You can use real-time highlighting to find near identifiers in no time. And it’s free. And open. Download -- via terminal (ubuntu distro) by typing;  sudo add-apt-repository ppa:notepadqq-team/notepadqq && sudo apt-get update && sudo apt-get install -y notepadqq  -- Hit Enter button when request to confirm ppa addition.. Conclusion If you so much like simplicity as it in notepad++, this is...

PHP7 versus Facebook HHVM

Image
#PHP7 is right around the corner, and is scheduled to be released before the end of 2015. It runs real world apps up to two times faster than PHP 5.6 and typically faster than #hhvm. Can’t wait? You don’t have to - Zend is providing nightly builds of the latest source tree you can easily install and play with right here and now! http://php7.zend.com/ PHP 7 is right around the corner, and is scheduled to be released before the end of 2015. PHP 7 is the most important development in PHP since 2004, and runs real world apps up to two times faster than PHP 5.6 and typically faster than hhvm. Click to see the bench marks for PHPx versus HHVM Zend offers php7 training ..  http://shop.zend.com/en/php-7-jump-start.html Conclusion I kinda love and cant wait to explore the features of PHP7

Advantages of Friendly URL Rewriting

Image
So many Web Developers still stick to the old fashion way of URL Structure where you pass different parameters via the url, example below http://domain.com/product.php?type=phone&model=h5&color=black  and below is the Friendly URL Structure   http://domain.com/product/phone/h5/black and some Friendly URL Structure are in the form below http://teclodge.blogspot.com/2015/05/php-image-resizer-class-to-resize.html Now  lets go straight to the point, not so god in blabbing.. Advantages of Friendly URL Protection against SQL Injection (SQLi) Reduce tendecy of Directory Transversal Attack Easy for users to Remember and or Bookmark URL - Coming accross an address like this pasted into a blog or forum, wouldn't feel so reluctant to visit it. Increases SEO - Search Engines try to look for keywords that match with what its user search for in URL which is known to be one of the ways sites are ranked. I will update this as i get more ideas ... Rea...

PHP Image Resizer Class to resize images on the Fly

Image
  PHP Image Resizer Class - File PHP Class to resize images on the fly mostly while coding in HTML This Image Resizer class is a part of my project on www.dpedit.tk I tot to share this, thinking it would be useful, doh its just a simple version of the actual one i use in my picture editor project but simple enough to do the work, and for the brave developers out there you can use this script to resize images as it is uploaded to a particular size you require of your users, also can be used to create thumbnail images.. This idea is something facebook as implemented... example is a situation where by you would have to click on view full size while checking your friends profile picture before you can actually see that her/his phone's camera is superb.. Advantages You would make your website load faster You wont have to type <img width="...px", to resize and image actually knowing it still has original its file ...

PHP Sucks on the file_exist() Function

I wonder why Father Rasmus Lerdorf(Cap Off) and team Zend would make file_exist() to check for both if dir or file exist without even passwing a second argument to force it to check for files only and return false once file does not exist.. I expect there should be file_exist() and dir_exist() The alternative is_file() function is for a diff scenerio, dont wanna talk about that.. If you think i dont use the doc.... you can name the function that can do the ish please...