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...

  • 2014: GitHub contributions graph
  • 2014: Daily dose of Instagram
  • 2012: Intel.com – an example of good design
  • 2010: Day in brief
  • 2006: Google Reader: take 2
  • 2006: Daily del.icio.us bookmarks
  • 2005: Daily del.icio.us bookmarks
  • 2005: Cyprus coffee
  • 2005: Pekin Duck
  • 2005: Analysis of two perl lines
  • 2004: Kill Bill: Vol. 2 – The second time
  • 2004: 99 Bottles of Beer
  • 2004: Ugly zoo
  • 2003: Hardware rearrangements

Year: 2018

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

Fedora 28

The brand new and shiny Fedora 28 has been released!  This one brings updates to Gnome, improved battery life, and external repositories for things like Google Chrome browser and Nvidia proprietary drivers.

Upgrading from Fedora 27 is easy and painless – I’ve tried it myself and all went without any problems at all.

Posted on May 2, 2018Author Leonid MamchenkovCategories All, Linux, Sysadmin, TechnologyTags Fedora Linux, Red Hat, releasesLeave a comment on Fedora 28

ORM: Active Record vs. Data Mapper

Everybody building a web application with a modern framework, is already probably using an ORM (Object-Relational Mapping).  Most frameworks include one out of the box.  But digging deeper into the subject, ORMs do vary from each other, and some cases, very significantly.

Most variations are coming from two main approaches: Active Record and Data Mapper.  I’ve heard the terms for a long time, but today decided to look into the meaning and the actual difference.

The two approaches seem very similar.  The difference is described in a multitude of articles online.  I particularly liked this one.  In essence, Active Record is a better choice for simpler, CRUD-based applications.  Data Mapper, on the other hand, is better for domain-specific applications, as it provides another level of abstraction between the domain objects and the persistence layer.

Most of my work these days is done with CakePHP framework, which I now thought uses the Active Record pattern.  But it turns out that CakePHP ORM so powerful, because it’s more than just one of those:

The CakePHP ORM borrows ideas and concepts from both ActiveRecord and Datamapper patterns. It aims to create a hybrid implementation that combines aspects of both patterns to create a fast, simple to use ORM.

It looks like I need to do some learning and dig deeper into the subject.  Pointers are welcome.

Posted on April 28, 2018Author Leonid MamchenkovCategories All, Programming, Technology, Web workTags CakePHP, databases, design patterns, PHP, web developmentLeave a comment on ORM: Active Record vs. Data Mapper

How Privileged Are Programmers? Are You a John, Too?

I don’t think I’ve ever met a technical person, who didn’t exhibit at least some of the traits described in this article.   And that includes myself as well. It’s usually not all that bad, but still …

Posted on April 27, 2018Author Leonid MamchenkovCategories All, TechnologyTags career, geek culture, psychology, workLeave a comment on How Privileged Are Programmers? Are You a John, Too?

Kazakhstan Is Changing Its Alphabet From Cyrillic To Latin-Based Style Favored By the West

If you think you’ve ever been involved in a huge and complex project, think again.  Slashdot runs the story: Kazakhstan Is Changing Its Alphabet From Cyrillic To Latin-Based Style Favored By the West.

This is a huge change in many regards – technical, cultural, social, etc.  Trying to remember when was the last time I heard about a project of this magnitude, September 3rd of 1967 in Sweden comes to mind.  That’s when the country switched from driving on the left-hand side of the road to driving on the right-hand side of the road.  An icon photograph depicting the change is this one:

And that’s still easier and simpler than the alphabet change, I think.

Posted on April 27, 2018Author Leonid MamchenkovCategories All, TechnologyTags history, Kazakhstan, language, worldLeave a comment on Kazakhstan Is Changing Its Alphabet From Cyrillic To Latin-Based Style Favored By the West

Posts pagination

Previous page Page 1 … Page 42 Page 43 Page 44 … Page 69 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...