Code Monkey home page Code Monkey logo

phpthewrongway's Introduction

Welcome

In the world of PHP programming a set of trends are massively being propagated by some people (in their books and on websites) as "Modern PHP" while all other approaches are frowned upon as backwards, stupid, or just plain wrong.

This is the Github repository for the website PHP - The Wrong Way that has been created in an attempt to present a pragmatic view on PHP programming. A view dictated by experience and practical consequence rather than popular trends, theory, or academic dogma.

The website is a living document and will continue to be updated with more information as it become available.

Feel free to participate!

How to Contribute

Contribute on GitHub.

If you have a question or just want to express your mind, feel free to use the "Issues" tab for that. Please notice that we have already discussed a lot of the concepts expressed in this document so take a look at the closed issues before you submit something.

General contribution

  • Clone and edit.
  • Submit pull request for consideration.

Add a new translation

  • Clone.
  • Create a subdirectory of your language in the docs directory using the IETF Language Tag. If I, as an example, are going to make a Danish translation, I create a subdirectory named da in docs.
  • Copy docs/index.html into the newly created subdirectory of your language and translate that.
  • Edit the main index.html, which is the English one, and edit the other index.html files in the different language subdirectories and insert the relevant link to your translation under the translations heading. Also update the "last updated" date in each file you touch.
  • Copy the image file docs/img/deviant-code-1000px-en.png to a filename that matches your language. Again as an example, I would make a file called docs/img/deviant-code-1000px-da.png for Danish.
  • Edit the image file and translate the text for the image. If you cannot edit the image file, just leave a text file in the main directory with a text translate of the text from the image. Name it something like danish-text-for-image.txt.
  • Submit pull request.

phpthewrongway's People

Contributors

nikolay-twin avatar umutphp avatar prytoegrian avatar binarygenius avatar bitflop avatar manuel1107 avatar jedeu avatar lincolnbrito avatar novid avatar capaci avatar tanakahisateru avatar unixdigest avatar claytonaalves avatar guygaver avatar nleduc avatar fabianbeiner avatar j7mbo avatar mdhifta avatar martinvd avatar darkflib avatar ribafs avatar tvlooy avatar zarino avatar akosglue avatar xidonett avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.