RustamWin | blog
98 subscribers
30 photos
5 videos
23 links
Download Telegram
Har safar Yii2 ga qaytsam hali (ko'pchilik) ishlatib ko'rmagan yangi qirralarini ochaveraman. Biron vazifani bajarish usullari Laravelga qaraganda kamdir lekin bu men uchun yaxshi albatta, chunki har xillik ayniqsa jamoa bo'lib ishlaganda konfliktlar keltirib chiqarishi mumkin.
Bu masalani yechish uchun loyiha uchun "coding standard" yozib chiqish va jamoani unga amal qilishga majburlash kerak (odatda har bir dasturchini o'z kod yozish uslubi bo'ladi), aks holda har xil usulda yozilgan kodni maintain qilishga ko'p vaqt ketadi.
👍11
Bir necha oy oldin (o'tgan yil) Yii 1 versiyasini EOL'i yana cho'zilgan edi, sabab talab hali ham bor edi. Ko'pchilik uni uzoqroq yashashini istadi, to'g'ri yangi loyihalar bu versiyada yozilmayotgan bo'lishi mumkin lekin aksariyat qilingan loyihalar yaxshi ishlab turibdi va boshqa frameworkga o'tishga hojat yo'q. Mana endi biroz muddat oldin Yii2 ning 2.2 versiyasini ishlab chiqish bo'yicha diskussiya boshlandi. Lekin bu versiyani ishlab chiqishda asosan communityga bog'liq chunki Yii jamoasini asosiy e'tibori 3-versiyaga qaratilgan. Shu bois, istasangiz, hissa qo'shishga ko'zingiz yetsa yoki sizda qandaydir takliflar bo'lsa, ushbu 2.2-versiyani ishlab chiqishda qatnashishingiz mumkin.
2.2-versiyaga aloqador diskussiyalarni shu yerdan topishingiz mumkin: https://github.com/yiisoft/yii2/discussions/categories/yii-2-2
👍10😁1
🌿 Про инструмент Unfinalize

Стив Бауман, разработчик из Канады, выпустил вчера инструмент Unfinilize, который позволяет убрать ключевое слово final у всех классов и методов из подключенных через Composer библиотек.

Теперь тем, кто хочет пойти по плохой дорожке, сделать это будет гораздо проще. Просто добавляем несколько инструкций в composer.json.

О релизе вышла новость на Laravel News. Да и в Yii3 периодически просят убрать final везде (а финализации там очень много). Теперь все желающие смогут это сделать легко и непринуждённо. Больше свободного кода! Скажем нет ограничениям!

Не важно, что класс не должен наследоваться. Не важно, что при минорном или патч-обновлении пакета может сломаться код в проекте. Верните кодерам утраченную свободу!
🤡2
Hangoma 😁
😁6
This media is not supported in your browser
VIEW IN TELEGRAM
Kechagi kun haqida qisqacha 😄🤓
😁4
Yo'llar muzladi. Yo'lingiz bexatar bo'lsin, oilangiz bag'riga sog'-omon yetib oling.
👍4🔥4
Mening birinchi PRim roppa rosa 6 yil avval bo'lgan ekan. Buni https://firstpr.me orqali tekshirib ko'rishingiz mumkin.
🔥3👍2
Yana kimda shunday? 😁🫡
🤣20😁5
Forwarded from @yegor256 news (yegor256)
GitHub recently published a research in the CACM that demonstrates how often programmers accept GitHub Copilot suggestions: in 25% of cases. They conclude: "Coding is not typing, and GitHub Copilot’s central value lies not in being the way users enter most of their code." This confirms my experience. I still believe that helping programmers writing code is a false objective. Instead, we should help them refactor, understand, document, and fix code.
🔥1
Damn.
Forwarded from samdark blog ☕️ (Alexander Makarov)
😭 Tidelift cut PHP funding

I wanted to reach out to you proactively to share some news that will impact the income that you have been receiving as a lifter with Tidelift.

As you may know, we make decisions about how much to pay open source packages based on a number of factors but it is mostly grounded in usage by our current customers combined with strategic investments in areas where we predict usage by future customers.From time to time, we also make changes to where we allocate payments based on these criteria.

Unfortunately, the reality is that we haven’t had as much traction with enterprise app developers using PHP as we have with other ecosystems; our customers tend to build their applications with mostly Java, JavaScript, and Python with smaller amounts of C# and Go.

As a result, we will be reducing the income for PHP packages to a base level of $25/mo per package. This is more in line with other ecosystems where we have limited customer demand. These changes will go into effect with the next lifter payout on April 3rd.

I realize this may be unfortunate news for you, as this income has been steady over the last several years. If you have any questions for me, I’d be happy to answer them, and certainly as we see more customer demand for PHP within our customer and prospect pool, that will be accompanied by a corresponding increase in the income provided to PHP packages.

Thanks for all you do as a maintainer, and we hope to have better news with you down the road!

All best,

Jeremy
Co-founder and CTO
Tidelift


Yii foundation lost about 35% of its income :(

#php #yii #opensource
😭41
2
2
Legendalarni kamerasiga tushib qoldim
😁9