PHP Now and Then 2012 at PHP Conference 2012, Tokyo Japan (in japanese)Rui Hirokawa
バイトとしてお世話になっている,PFIで,「モダンPHPプログラミング入門」について,社内セミナーでお話してきました. 約一時半,Ustもながしつつ,社員の皆さんから質問をうけつつ.長々と,しゃべってしまいました. 対象者は,PFIの社員さんのように 他のプログラミング言語を知っている 「PHPって,HTMLの中に <?php とかって書くやつでしょ?」とか未だに思ってる 昔触ったことあったけど最近のPHPしらない みたいな人.そんな内容です. テンプレート言語と言われるPHPですが,プログラミング風の機能もたくさんついているんだぁ!ということを感じていただければ嬉しいです(w Modern PHP Programming @ PFI SeminarView more documents from sotarok. Ust の録画: Ustream.tv: ユーザー preferred:
画面が正しく表示されているのか、を確認したいときにSeleniumを使うのは大変だなーと調べていたらCodeceptionを見つけました Codeception PHP Testing Framework is designed to work just out of the box. This means its installation requires minimal steps and no external dependencies preinstalled (except PHP, of course). Only one configuration step should be taken and you are ready to test your web application from an eye of actual user. だそうです。 導入は簡単、Quick
I’ve got a challenge for you. The next time you start a new project, try not using a PHP framework. Now, this isn’t an anti-framework screed. Neither is it a promotion of not-invented-here thinking. After all, we’re going to be using some packages written by several framework developers in this tutorial. I’ve got nothing but great respect for the innovation going on in that space. This isn’t about
Modern PHPWhile I wasn't paying attention, PHP got quite good The last time I've used PHP was probably around 2017, although it was just in the context of supporting some WordPress sites. By that time 7.2 had already been released, but I had no idea. I wanted to avoid working with PHP at all costs. This month I took some time to check what good things have been added to the language that I was una
tl;dr Use a Makefile and make good use of it Run everything in Docker Use CS Fixer To Adhere To Coding Standards Use PHP Stan Syncronise your team IDE’s with .editorconfig Use a Makefile and make good use of it Most developers use Makefiles, but very few use them effectively. Below is an example of my typical Makefile container=app up: docker-compose up -d build: docker-compose rm -vsf docker-comp
Read it now on the O’Reilly learning platform with a 10-day free trial. O’Reilly members get unlimited access to books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers. Book description PHP is experiencing a renaissance, though it may be difficult to tell with all of the outdated PHP tutorials online. With this practical guide, you’ll learn how PHP ha
Let’s have a bit of fun. A while ago, I experimented with PHP macros, adding Python range syntax. Then, the talented SaraMG mentioned an RFC, and LordKabelo suggested instead adding C#-style getters and setters to PHP. Aware of how painfully slow it can be for an outsider to suggest and implement a new language feature, I took to my editor… The code for this tutorial can be found on Github. It’s b
{ if (! this.initialized) { search.start(); this.initialized = true; } if (value) { setTimeout(() => { this.$el.querySelector('input').focus(); }, 100); } }); }, }" x-dialog x-model="searchModalIsOpen" x-cloak class="fixed inset-0 z-10" @keydown.slash.meta.window="searchModalIsOpen = !searchModalIsOpen" @keydown.k.meta.window="searchModalIsOpen = !searchModalIsOpen" @keydown.escape.window="searchM
Due to backwards compatibility, WordPress hasn’t taken advantage of new PHP features released after PHP 5.2.4. Fortunately, WordPress will soon require PHP 5.6+ and even PHP 7.0+ not long after that. The recent release of Gutenberg could be a sign of the good times to come. In this article, Leonardo Losoviz makes a tour of the PHP features newly-available to WordPress, and attempts to suggest how
This sample is an excerpt from the ebook Front Line PHP. Check out the entire book to learn how to build modern applications in PHP 8.3. # Destructuring 7.1 You can destructure arrays to pull out several elements into separate variables: $array = [1, 2, 3]; // Using the list syntax: list($a, $b, $c) = $array; // Or the shorthand syntax: [$a, $b, $c] = $array; You can skip elements: [, , $c] = $arr
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く