Enumerations in PHP 8.1 – with code example and references
Milan Latinovic
by milan.latinovic
1y ago
PHP is getting more and more features. Enumerations in PHP are one of the latest proposals. Description for enumerations in PHP is described withing this request for comments Enumerations are built on top of classes and objects. That means, except where otherwise noted, “how would Enums behave in situation X” can be answered “the same as any other object instance.” They would, for example, pass an object type check. Similarly, enum names and case names are both case insensitive. (With the same caveat about autoloading on case sensitive file systems that already applies to classes gen ..read more
Visit website
What’s new in PHP 8.0, SymfonyWorld Online 2020
Milan Latinovic
by milan.latinovic
1y ago
This article writes about what is new in PHP 8.0. These are personal notes related to Symfony UX, taken while attending the “Keynote: What’s new in PHP 8.0?” lecture by Nikita Popov at SymfonyWorld Online 2020. Table of Contents PHP Just in Time (JIT) Compiler Attributes Named Arguments in PHP 8 Constructor Promotion Union Types Mixed Type Static Return Type Match Expressions Nullsafe Operator Summary PHP PHP is constantly improving, adding optimizations and new features. Developers working in the PHP world should welcome these changes with curiosity because it will, at some point, impact ..read more
Visit website
Next Industrial revolution: What is ChatGPT? Will it replace jobs?
Milan Latinovic
by milan.latinovic
1y ago
This article sheds some light related to the question will ChatGPT or AIs in general start replacing jobs and disturbing the industry as we know it. The inspiration for this article came sometime in the beginning of January 2023 after my LinkedIn got flooded with ChatGPT posts, apocalyptic Skynet prognoses, and hype about the new industrial revolution and machines replacing humans. Table of Contents What is ChatGPT? Can ChatGPT model be updated with newer data? Would new GPT models be trained from the beginning? How to get started with ChatGPT? How to properly use ChatGPT and maximize its pot ..read more
Visit website
What is new in PHP 8.2: What are new features, what is deprecated?
Milan Latinovic
by milan.latinovic
1y ago
PHP 8.2 continues bringing in new features and better structure to our code base by deprecating misleading features. The base for these activities is already set in PHP 8.0 and it is progressing well. The original plan was to release PHP 8.2 on November 24th 2022, but this was postponed a bit for December 8th 2022. This article is covering what is new in PHP 8.2 in details, focusing on new features, what is deprecated and what changed. At the end of the article you will find list of the official references documenting all changes in the details. Table of Contents PHP 8.2 Deprecated Deprecate ..read more
Visit website
What is Domain-Driven Design: The absolute beginners guide
Milan Latinovic
by milan.latinovic
1y ago
This article is about domain-driven design, key concepts, vocabulary, and general ideas. I was motivated to write this article while attending the SymfonyWorld 2020 conference. Neal Brooks had an inspiring lecture “The absolute beginner’s guide to Domain Driven Design with Symfony”. You can use the Table of Contents to get a quick overview of this article and easily navigate to a part you are interested in. Table of Contents What is Domain Driven Design? Definitions Domain Driven Design The Domain Domain experts Ubiquitous Language Bounded Contexts Design Entities Aggregate The Aggregate roo ..read more
Visit website
Writing technical specifications and estimates
Milan Latinovic
by milan.latinovic
1y ago
Writing technical specifications is a very common requirement if you work as integrator, solution architect or technical manager. In this article you will find some tips on what to do and what to avoid when writing technical specifications. Table of Contents Introduction Writing technical specifications – What should you do? Ask questions to clarify requirements Ask questions about the environment Do your homework, learn about technical parts and try to make a prototype Understand the “rough estimation” concept Writing technical specifications – What should you avoid? Don’t assume without ..read more
Visit website
PHP and Java projects with complete source code
Milan Latinovic
by milan.latinovic
1y ago
Firstly, thank you all for comments and ideas related to my revamped blog. Some of you asked me about PHP and Java projects with code samples which I had on my old blog. I have moved these code samples to git repositories while ago. Therefore, I will use this post to point to the repositories where these PHP and Java code examples can be found. Table of Contents PHP and Java projects AuthMicroservice in PHP WP Chrono, WordPress plugin Object Oriented programming in Java, course and code examples Course – Internet Programming in Java, course and code examples Further reading PHP and Java p ..read more
Visit website
Code Review Best Practices: Code reviewing and being reviewed
Milan Latinovic
by milan.latinovic
1y ago
This article is about the code review best practices. It explains code review from the common-sense perspective. If you do not want to read through the whole article take a look at the table of contents and the summary for a quick overview. Table of Contents 1. What is a code review process? 1.1. A code review in its essence 1.2. What is a good code review? 2. Common-sense rules and checks of a code review 2.1. Planning of reviews is important when describing tasks 2.2. Choosing the right reviewer or more of them 2.3. Code reviews and the management 3. Are code reviews worth it? 3.1. D ..read more
Visit website
Setting up proper JS and CSS minification
Milan Latinovic
by milan.latinovic
1y ago
Setting up the proper JS and CSS minification can be crucial for your web site’s speed and ultimately better search engine optimization. This article will provide you with quick hints to improve your web site using JS and CSS minification. Table of Contents What is the importance of setting up proper JS and CSS minification Web site before JS and CSS minification and proper browser caching setup Web site after minification and proper browser caching setup Let us compare these results in details What is the importance of setting up proper JS and CSS minification What is a JS and CSS minifi ..read more
Visit website
Remove Posts and Pages from WordPress Search
Milan Latinovic
by milan.latinovic
1y ago
This article shows you how to remove posts and pages from WordPress search and improve the search experience of your site. If you are interested only in code snippets you can use Table of Content to navigate to that part right away. Otherwise, enjoy reading the whole article. Table of Contents Introduction WordPress Search Mechanism Snippet to Remove Posts and Pages from WordPress Explanation of the snippet Summary Introduction WordPress search is one interesting and powerful feature that enables out of the box search. However, WordPress search will go through all of the pages on your web ..read more
Visit website

Follow Milan Latinovic on FeedSpot

Continue with Google
Continue with Apple
OR