Skip to content

Leonid Mamchenkov

Life, universe, and everything else

  • Home
  • Archives
  • About
  • Contact me
  • Email
  • Skype
  • LinkedIn
  • GitHub
  • Facebook
  • Twitter
  • Instagram
  • Flickr
  • YouTube
  • SlideShare
  • RSS Feed

On this day...

  • 2015: One of my most favorite things in the world
  • 2015: BBQ Chicken Wings
  • 2014: Epoch – The Fastly Charting Library
  • 2013: Daily dose of Instagram
  • 2011: Day in brief
  • 2011: Cyprus police anti-brutality
  • 2011: MySQL prompt
  • 2006: Done. I am Cypriot.
  • 2006: Daily del.icio.us bookmarks
  • 2005: New Procedures for 2005 Readers’ Choice Awards
  • 2005: 43 Things
  • 2004: WRC 2004 Cyprus stage pictures

Tag: best practices

Working With PHP Arrays in the Right Way

“Working With PHP Arrays in the Right Way” is a collection of tips and tricks on the array functions in PHP.  PHP is weird, to say the least, when it comes to arrays, compared to many other programming languages, so articles like that are useful for pointers to better ways of doing things.

I think that even experienced PHP developers will find a bit or two that they either didn’t know or forgot about.

Posted on May 7, 2018Author Leonid MamchenkovCategories All, Programming, Technology, Web workTags best practices, data structures, PHP, web developmentLeave a comment on Working With PHP Arrays in the Right Way

Unit Testing – The Big Picture

“Unit Testing – The Big Picture” is a super useful for those of us who need a refresher or an overview of what software testing is in general, and how unit testing relates to other types of testing in particular.  It covers a bit of history of testing, different approaches, terminology, and more.

Posted on May 4, 2018Author Leonid MamchenkovCategories All, Programming, Technology, Web workTags best practices, history, PHP, quality assurance, testing, web developmentLeave a comment on Unit Testing – The Big Picture

Cross-Site Request Forgery (CSRF) Prevention Cheat Sheet

“Cross-Site Request Forgery (CSRF) Prevention Cheat Sheet” is a list of general recommendations and specific techniques to protect web applications against the CSRF attacks.  That is, before the CSRF attacks will become obsolete.

Posted on May 4, 2018Author Leonid MamchenkovCategories All, Programming, Technology, Web workTags best practices, browsers, security, web developmentLeave a comment on Cross-Site Request Forgery (CSRF) Prevention Cheat Sheet

Code quality tools in PHP to check and improve your code

“Code quality tools in PHP to check and improve your code” is a list of both some very well known tools and some new kids on the block.  The article covers the following:

  • PHP-CS-Fixer
    • Documentation
    • Github
  • PHPCS
    • Documentation
    • Github
  • PHPMD
    • Documenation
    • Official website
  • PHPStan
    • Github
  • PHPUnit
    • Documentation
    • Github
  • PHPLoc
    • Github
  • PHPCPD
    • Github
  • PHPMND
    • Documentation
    • Github
  • churn-php
    • Github
  • dePHPend
    • Official website
    • Github
  • PhpCodeFixer
    • Documentation
    • Github
  • PhpMetrics
    • Official website
    • Github
Posted on May 2, 2018Author Leonid MamchenkovCategories All, Programming, Technology, Web workTags best practices, PHP, quality assurance, testing, web development1 Comment on Code quality tools in PHP to check and improve your code

PHP Static Analysis

Here are a couple of new tools in addition to previously mentioned PHPStan:

  • Psalm by Vimeo.  The cool thing about this static analyzer is that it supports both PHP 5.6 and PHP 7, unlike PHPStan which requires PHP 7.  (Yeah, I know PHP 5.6 has reached the end of its active support a while back, but there are still quite a few projects around using it.) Additionally, Psalm is easy to control via the XML configuration file,  much like PHPUnit and PHP CodeSniffer.
  • Phan.  This one is a bit trickier to install, as it requires some PHP extensions that I’ve never heard about (like PHP AST).
Posted on April 25, 2018Author Leonid MamchenkovCategories All, Programming, Technology, Web workTags best practices, PHP, quality assurance, web developmentLeave a comment on PHP Static Analysis

Posts pagination

Previous page Page 1 … Page 9 Page 10 Page 11 … Page 23 Next page
Proudly powered by WordPress
This website uses cookies. Purely for technical reasons. Accept Reject Read more
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT
 

Loading Comments...