While browsing the PHP devsquad, I ran into this article that listed the top 10 powerful features of PHP. Beside the list, it made me wonder what are the adoption levels of recent PHP features, based on this list. Once in a while, I like to check such top 10, to see how main stream PHP features are becoming. After all, there is a step between what is announced at the new version release, and how features are adopted (I’m looking at you, spaceship operator. And working on Exakat tends to keep me looking at exotic parts of PHP. A…
Author: drweb
@media (min-width: 769px) { main .article-section .content ul:not([class]):not([id]) li ul:not([class]):not([id]) { margin-top: 0; margin-bottom: 24px; } } main .article-section .content ul:not([class]):not([id]) li, main .article-section .content ul:not([class]):not([id]) > li {padding-bottom: 18px;} main .article-section .content ul:not([class]):not([id]) li ul:not([class]):not([id]) li {padding-bottom: 0;} img.alignico {margin-right: 10px;margin-top: 5px;float: left;} summary {display: list-item;cursor: pointer;font-style: italic; } section.article-section a {color: #7755f3} code {color: red;} #roman-pronskiy,.copy-heading:has(#roman-pronskiy){margin-top: 0;} main li a[href^=”https://github.com”]:before {background: no-repeat 2px center url(data:image/svg+xml;utf8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDMyIDMyIj48cGF0aCBmaWxsPSIjMjQyOTJFIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNiAwYTE2IDE2IDAgMCAwLTUgMzEuMmMuNy4xIDEtLjQgMS0uOHYtM2MtNCAuOC01LTEtNS40LTEuOC0uMS0uNS0xLTItMS42LTIuMy0uNi0uMy0xLjQtMSAwLTEgMS4yIDAgMi4xIDEuMSAyLjQgMS42IDEuNSAyLjQgMy44IDEuNyA0LjcgMS4zLjEtMSAuNi0xLjcgMS0yLjEtMy41LS40LTcuMy0xLjgtNy4zLTggMC0xLjcuNy0zLjEgMS43LTQuMi0uMi0uNC0uNy0yIC4xLTQuMyAwIDAgMS40LS40IDQuNCAxLjdhMTQuOCAxNC44IDAgMCAxIDggMGMzLjEtMi4xIDQuNC0xLjcgNC40LTEuNyAxIDIuMi40IDMuOS4yIDQuM2E2IDYgMCAwIDEgMS42IDQuM2MwIDYuMS0zLjcgNy41LTcuMyA3LjkuNi41IDEuMSAxLjQgMS4xIDN2NC4zYzAgLjQuMyAxIDEuMS44QTE2IDE2IDAgMCAwIDE2IDBaIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=);content: “”;padding-left: 20px;} main li a[href^=”https://www.youtube.com”]:not([data-test=”blog-header”]):before {background: no-repeat 0px center url(“data:image/svg+xml,%3Csvg xmlns=”http://www.w3.org/2000/svg” height=”100%25″ version=’1.1′ viewBox=’0 0 68 48′ width=”100%25″%3E%3Cpath class=”ytp-large-play-button-bg” d=’m .66,37.62 c 0,0 .66,4.70 2.70,6.77 2.58,2.71 5.98,2.63 7.49,2.91 5.43,.52 23.10,.68 23.12,.68 .00,-1.3e-5 14.29,-0.02…
If you’ve ever coded, you’ve likely encountered cryptic error messages that left you scratching your head. Whether it’s a syntax error, an unexpected function call issue, or a deprecated feature warning, debugging can be a frustrating experience: this also happens with PHP. That’s where the PHP Error Message Encyclopedia (PEME) comes in. This extensive reference provides clear explanations for over 500 PHP error messages, helping developers of all levels understand what went wrong and how to fix it efficiently. What to expect in the PHP Error Message Encyclopedia? The PHP Error Message Encyclopedia is a well-organized reference guide that documents…
News Read this post in other languages: PHP continues to be a cornerstone of web development, powering millions of websites around the world. Its vibrant and dedicated community values its flexibility and ease of use. But what does the current state of PHP development look like? To uncover deeper insights and trends shaping the ecosystem, we’ve turned to our in-house expert, Brent Roose, Developer Advocate for PHP, who will guide us through the results of the State of Developer Ecosystem Survey 2024. Join us as we explore the findings and learn how PHP developers are navigating the ever-evolving landscape of…
Note: The key name x in the style prop is an arbitrary choice. I could’ve written:{(style) => }Use the key name that indicates most clearly what you’re animating.StaggeredMotion works slightly differently than in that everything is now multiple instead of singular. Instead of providing a defaultStyle we provide defaultStyles and instead of providing style we provide styles.Considering we want to animate multiple things this makes sense. One other caveat: the styles prop is now a function of previous styles. Sounds confusing, but once we apply it, it all makes sense.Since we are responding to user touches here we must bring…
The struggle is realMastering these simple Flexbox recipes will make you a React Native UI master in no timeGetting StartedLets start with a simple example. A container View component with three Text components.//Our views 1 2 3 //Styleslet styles = StyleSheet.create({container: { backgroundColor:’#4286f4′},viewStyleOne: {width:40,height:40,justifyContent: ‘center’,alignItems:’center’, backgroundColor:’#b642f4′},textStyle:{textAlign:’center’}})Which renders as so:Initial ViewNow we add flex:1 to the container:container: { backgroundColor:’#4286f4′, flex: 1 }This makes container fill its parent, i.e. whole screen.flex : 1Now we add:container: { backgroundColor:’#4286f4′, flex: 1,flexDirection:’row’}Each view’s flexDirection is set to colum by default but setting it to ‘row’ will change the orientation of the items in the container.flexDirection…
Do you write React Native or JavaScript articles and want to be featured in our blog? Reach out to wyatt@reactnativecoach.com and we’ll review your submission.Great post from Andi Gu on recreating the chat bubbles animation effect from the Facebook app in React Native.Excellent article for all React Native devs on common Flexbox recipes from Navdeep Singh Bedi.Didn’t know about these StyleSheet helpers, from Asa Miller.Incredible post from Zohar Levin on creating a header scrolling animation using scroll position in React Native.Learn how to set environment variables for specific release channels in Expo from Peter Piekarczyk.Nice example project using the Github…
Redux Persist takes your Redux state object and saves it to persisted storage. Then on app launch it retrieves this persisted state and saves it back to redux.Notes:This guide is for v5 of redux-persist, which was released in October 2017.Parts of this guide were merged into the official docs via this pull request, which I submitted. However, this guide is still your best source for gaining an understanding of the library.Dependenciesnpm install –save redux-persist – OR – yarn add redux-persistImplementationWhen creating your redux store, pass your createStore function a persistReducer that wraps your app’s root reducer. Once your store is…
Do you write React Native or JavaScript articles and want to be featured in our blog? Reach out to wyatt@reactnativecoach.com and we’ll review your submission.A bit late on this one but here are the highlights from the latest React Native release. Full release notes are available here.New space-evenly for justifyContent 👏🏻DatePickerIOS now takes a localeCameraRoll can now delete photosPlatformOS > PlatformYellowBox.ignoreWarnings([…]) > console.ignoredYellowBox = […]Note: We’ve had a hard time updating from 0.48 to 0.49 and above due to new API requirements that effects a lot of dependencies. Hoping this settles over the next couple of weeks.Another excellent article from…
Do you write React Native or JavaScript articles and want to be featured in our blog? Reach out to wyatt@reactnativecoach.com and we’ll review your submission.Great article on getting up and running with a TabNavigator using React Navigation from Ricky Peters.Many developers want to monetize their apps and one way to do that is through ads. This post from Hajji Tarik helps you get started with AdMob in React Native.Part 1 of a 2 part series on testing your React Native app from Emma Jamieson.Short and simple article on how to implement Native Modules from Shashank.Apply filters to images in your…