nerdpress.org
域名年龄: 15年9个月7天HTTP/1.1 301 永久重定向 访问时间:2015年02月27日 07:59:53 目标网址:http://nerdpress.org/ 动作:Accept-Encoding Content-Encoding: gzip 文件大小:229 Keep-Alive: timeout=15, max=100 连接:Keep-Alive 类型:text/html; charset=iso-8859-1 HTTP/1.1 200 OK 访问时间:2015年02月27日 07:59:53 动作:Cookie,Accept-Encoding X-Pingback: http://nerdpress.org/xmlrpc.php 语言环境:PleskLin Content-Encoding: gzip 文件大小:9992 Keep-Alive: timeout=15, max=100 连接:Keep-Alive 类型:text/html; charset=UTF-8 网站编码:UTF-8
^__^Nerdpress.orgHomeAuthorsContactRegExpBuilderPHP – PHP Regular Expression BuilderMax Girkens, 2015/02/13 16:38There this really useful tool for JS, called RegExpBuilder.It enables you to build regular expressions with a nice human-readable & chainable syntax.(read more about it here and here)As it’s not that much lines of code, I decided to do a port for PHP – et voila:https://github.com/gherkins/regexpbuilderphp» read more4 commentsUsing forks with composer – late night editionIvo Bathke, 2015/01/19 18:21Using your forks of certain packages with composer is actually pretty easy:Add the repo of the fork to the repositories block of your composer.json, you might need to change the version to f.e dev-master and thats it. Great. Actually."repositories": [{"type": "vcs","url": "https://github.com/ivoba/SomeBundle.log"}]But there are some traps, especially when you are mentally already weekend bound:When working in a team, take care that you dont add your fork as a private repo.This happens when you use the @ notation like ‘git@github.com‘. Its tempting because it will be the clone url on github when you are logged in, which is very likely.If you do so your team mates will get errors like this: Failed to execute git clone --no-checkout 'git@github.com:ivoba/SomeBundle.git' [...] && git remote add composer 'git@github.com:ivoba/SomeBundle.git' && git fetch composer» read more1 commentSymfony and named ParamConvertersIvo Bathke, 2014/12/15 15:07Symfony’s ParamConverter is a common way to transform some GET param to an entity before your controllers action.This happens most of the time via type hinting and priority detection kinda magic in the background.But as magic is often obscure sometimes you need a bit of explicitness.F.e. when you have more and different ParamConverter per entity you want to name them explicitly.Then you can use named ParamConverters.In the documentation this issue is a bit fragmented, so here is the compact version:» read moreno comments yetSymfony2 “urlize”Max Girkens, 2014/12/01 11:11I have often missed the Doctrine_Inflector::urlize() method from Doctrine1 in Symfony2 with Doctrine2.Of course there’s the doctrine extensions with the sluggable behaviour, but sometimes it seems a bit overhead for smaller tasks.I just recently discovered Behat Transliterator, which brings just the dearly missed urlize function back.» read moreno comments yetGit deploy with composer install hookIvo Bathke, 2014/11/14 09:51I usually would not recommend deployment via git and running composer on your prod server for several reasons like f.e. the network. I rather believe in builds.But sometimes its just too convenient :)So i have this uncritical smaller API app where the hosting has git, ssh access and i am in full control and i decided too keep it simple.» read moreno comments yetEna
© 2010 - 2020 网站综合信息查询 同IP网站查询 相关类似网站查询 网站备案查询网站地图 最新查询 最近更新 优秀网站 热门网站 全部网站 同IP查询 备案查询
2025-06-08 10:02, Process in 0.0083 second.