prosoxi.com | Archive | Programming

Archive | Programming

HTML5 Boilerplate Docs

DNS Prefetching

In short, DNS Prefetching is a method of informing the browser of
domain names referenced on a site so that the client can resolve the DNS
for those hosts, cache them, and when it comes time to use them, have a
faster turn around on the request.

Continue Reading

Posted in CSS, HTML - XHTML0 Comments

Better conditional classnames for hack-free CSS

Applying conditional classnames to the html element is a popular way to help target specific versions of IE with CSS fixes. It was first described by Paul Irish and is a feature of the HTML5 Boilerplate. Despite all its benefits, there are still a couple of niggling issues. Here are some hacky variants that side-step those issues.

Continue Reading

Posted in CSS0 Comments

php Working with gettext

Working with gettext

  1. Creating the translation directory structure
  2. Portable Object files
  3. Translation Domain
  4. Using Translator in PHP
  5. Variable interpolation

Continue Reading

Posted in PHP0 Comments

Wamp 403 Forbidden – You don’t have permission to access / on this server.

Look for this part in the httpd.conf file installed in C:\wamp\bin\apache\apache 2.x.xx\conf

Continue Reading

Posted in PHP0 Comments

Localizing PHP web sites using gettext

Localizing PHP web sites using gettext

Developing multi language web sites using PHP is actually very easy. A common approach is having an include file for every supported language which contains an array that maps string ids to localized text (for example “WelcomeText” => “Welcome to our homepage.” would be included using something like <?= $strings["WelcomeText"] >). However there are several problems with this approach. First of all, when the application is updated and additional strings are added, there is no way to determine which new strings were added and if they are present in every language (unless you write a script for it). What happens if a newly added string is not yet translated into a specific language? Continue Reading

Posted in PHP0 Comments

50 Powerful Time-Savers For Web Designers

Being a web designer is not easy. Not only do we need to have a good understanding about visual design, typography, information architecture, psychology and a plethora of other disciplines; in our work, we need to take care of so many details, so that our job becomes more and more time-consuming, requiring dozens of tools, attention span and an effective workflow for beautiful, timely and functional results. Continue Reading

Posted in PHP0 Comments

Useful PHP Tools

PHP is one of the most widely used open-source server-side scripting languages that exist today. With over 20 million indexed domains using PHP, including major websites like Facebook, Digg and WordPress, there are good reasons why many Web developers prefer it to other server-side scripting languages, such as Python and Ruby. Continue Reading

Posted in PHP0 Comments

php Debugging Tools

    • Webgrind
      Webgrind is an Xdebug profiling Web front end in PHP 5. It implements a subset of the features of kcachegrind, installs in seconds and works on all platforms. For quick ‘n’ dirty optimizations, it does the job. Continue Reading

Posted in PHP0 Comments

PHP Declare Statement

Explanation

The declare statement is used to set execution directive for a block of codes.

Continue Reading

Posted in PHP0 Comments

php implode keys with vars multidimensional array

Function to variation on implode_with_key:

Continue Reading

Posted in PHP0 Comments

php Alternative syntax for control structures

PHP offers an alternative syntax for some of its control structures; namely, if, while, for, foreach, and switch. In each case, the basic form of the alternate syntax is to change the opening brace to a colon (:) and the closing brace to endif;, endwhile;, endfor;, endforeach;, or endswitch;, respectively. (PHP 4, PHP 5)

Continue Reading

Posted in PHP0 Comments

PHP HTTP Headers

Modify HTTP Headers (Examples)
Many examples that show how to use the header() function of PHP

Continue Reading

Posted in PHP0 Comments

What is PHP_EOL in PHP?

When you run PHP in a web server, "\n" and "\r\n" will not do anything (it literally just separates the code into different line breaks). <br> makes a new line in HTML (hence "line BReak"). Since you are viewing the PHP in a web browser, it parses the code in HTML. Therefore, "<br>" will make new lines, whereas "\r\n" will not do anything.

Continue Reading

Posted in PHP0 Comments

imgAreaSelect

imgAreaSelect is a jQuery plugin for selecting a rectangular area of an image. It allows web developers to easily implement image cropping functionality, as well as other user interface features, such as photo notes (like those on Flickr).

Continue Reading

Posted in JavaScript - Ajax0 Comments

CutyCapt

CutyCapt

CutyCapt is a small cross-platform command-line utility to capture WebKit’s rendering of a web page into a variety of vector and bitmap formats, including SVG, PDF, PS, PNG, JPEG, TIFF, GIF, and BMP. See IECapt for a similar tool based on Internet Explorer.

Continue Reading

Posted in Linux, PHP0 Comments

MagpieRSS provides an XML-based (expat) RSS parser in PHP.

MagpieRSS is compatible with RSS 0.9 through RSS 1.0. Also parses RSS 1.0′s modules, RSS 2.0, and Atom. (with a few exceptions)

Continue Reading

Posted in PHP0 Comments

Domain Name Finder, Lookup, Whois

Domain Finder Tool by Truste.gr

read more for domains

Advertise

Sponsors

Wedstar all about wedding - gamos - γαμος
Κατασκευή ιστοσελίδων
Domain Names | Hosting