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

  • 2019: Lazydocker – a simple terminal UI for both docker and docker-compose
  • 2015: Aging meats
  • 2015: Inside NGINX: How We Designed for Performance & Scale
  • 2014: Coca-Cola can love
  • 2014: A year without Google Reader
  • 2014: Daily dose of Instagram
  • 2013: Steven Levitt: The freakonomics of McDonalds vs. drugs
  • 2013: Why are software development task estimations regularly off by a factor of 2-3?
  • 2013: WordPress plugin : Auto-Schedule Posts
  • 2013: Child and Sibling Selectors in CSS
  • 2013: Two more minor changes
  • 2013: GitHub adds Releases
  • 2013: Human head transplant, anyone?
  • 2011: Day in brief – 2011-07-03
  • 2010: Day in brief
  • 2010: The saga of a lost connection
  • 2007: Daily tweets
  • 2006: Personal accounting with HomeBank
  • 2006: Daily del.icio.us bookmarks
  • 2005: Growing up

Category: Web work

These days, most of my work is very related to the online world. Building web sites, reviewing web applications, integrating with web services, coordinating people who are far away from each other, etc. Whenever I find a new tool or service or an innovative, interesting idea about working online, I share it in this category.

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

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 to build a minimum viable product (MVP)

I came across this somewhere on the interwebs.  Which also reminded me of this article (in Russian), which discusses the “progressive JPEG” approach to projects.  The idea being for a project to always be 100% ready, but with varying degree of details being worked through.

Posted on April 26, 2018Author Leonid MamchenkovCategories All, Programming, Technology, Web workTags business, project management, startups, web developmentLeave a comment on How to build a minimum viable product (MVP)

Understanding AD Access Control Entries

“Understanding AD Access Control Entries” is a quick and simple article describing some of the madness of the Active Directory access control entities.  This is particularly useful for those of us who had to deal with Active Directory, without having much experience with MS Windows.  I’m sure this will come handy again in the future.

Posted on April 25, 2018Author Leonid MamchenkovCategories All, Programming, Sysadmin, Technology, Web workTags Active Directory, ldap, Microsoft Windows, security, web developmentLeave a comment on Understanding AD Access Control Entries

gron – Make JSON greppable!

gron is a grep-like tool that specializes in JSON format.  Unlike grep, however, it works both way – in and out.

Posted on April 25, 2018Author Leonid MamchenkovCategories All, Linux, Programming, Sysadmin, Technology, Web workTags API, command line, JSON, web developmentLeave a comment on gron – Make JSON greppable!

Posts pagination

Previous page Page 1 … Page 49 Page 50 Page 51 … Page 341 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...