blog.dj1020.net
PHP 也有 Day #26 - REST API 與前端整合之踩雷心得@RickySu | 閃亮亮大師之路
http://blog.dj1020.net/PHP也有day-26_REST_API_與前端整合之踩雷心得
PHP 也有 Day #26 - REST API 與前端整合之踩雷心得@RickySu. Representational State Transfer API. Cache 快取,可以在過程中被 Cache 起來. Layered System 將架構分解為若干等級的 layer. POST 新增資料 - GET 讀取資料 - PUT 更新資料 - DELETE 刪除資料. 單一接口 http:/ api.example.com/products. GET http:/ api.example.com/products. 單一接口 http:/ api.example.com/order. POST http:/ api.example.com/order. 123;" item id. 123;" item id. 123;" item id. RFC 沒有禁止 GET 不能傳送 Request Body. JQuery $.ajax 不支援. 改用 Query String 來傳遞參數,不要放在 Request Body. Status" : true,. Status" : false,.
marcjschmidt.de
About me // Marc J. Schmidt, developer//entrepreneur from Hamburg, Germany
http://marcjschmidt.de/about.html
Thoughts from a developer/ entrepreneur. Founder of AETROS.com. I’m Marc, a professional freelance software engineer with more than 10 years experience living in Hamburg, Germany. I spend a lot time working on software, hardware, 3d printer or other awesome stuff I can get in touch with to build beautiful and awesome software and useful products. In spare time I tinker on my rc airplanes, humanoid robots or other electronic stuff. Hands on guy with liability to pragmatism. Github - github.com/marcj.
marcjschmidt.de
Projects // Marc J. Schmidt, developer//entrepreneur from Hamburg, Germany
http://marcjschmidt.de/projects.html
Thoughts from a developer/ entrepreneur. Founder of AETROS.com. An enterprise and high-speed open-source Content-Management-System (CMS) based on the Symfony framework as a Symfony Bundle with a full RESTful API, an user friendly administration interface and rapid application development (RAD) framework using AngularJS, Propel and other rock-solid libraries. Open-source available at github. Propel is an open-source high-speed Object-Relational Mapping (ORM) for PHP5. Element Queries is a polyfill adding ...
marcjschmidt.de
Home // Marc J. Schmidt, developer//entrepreneur from Hamburg, Germany
http://marcjschmidt.de/blog/2014/12/30/stop-making-just-products--make-emotions.html
Thoughts from a developer/ entrepreneur. Founder of AETROS.com. PHP High-Performance - Follow Up with Symfony/Jarves.io and PHP-PM. This is a follow up article on Bring High Performance Into Your PHP App , which went quiet viral with over 100k visits. This does not only show that many people still struggle with PHP and its performance, but also that people are highly interested in a solution to this kind of issues. PHP-PM could be one solution. But first things first. If you have a continuous integration...
marcjschmidt.de
Bring High Performance Into Your PHP App (with ReactPHP) // Marc J. Schmidt, developer//entrepreneur from Hamburg, Germany
http://marcjschmidt.de/blog/2014/02/08/php-high-performance.html
Thoughts from a developer/ entrepreneur. Founder of AETROS.com. Bring High Performance Into Your PHP App (with ReactPHP). In this article I want to show you how you can get the maximum performance out of your PHP application. Most apps don’t really use the whole power of PHP, instead just activate APC and think that is the most you can get. Keep reading if you want to be surprised. You’ll get with this approach almost 2.000 requests/s. Instead of 130 on a large Symfony app. First of all, some history.
symfony-cms.net
Jarves - Symfony CMS review
https://www.symfony-cms.net/jarves
Jarves is an enterprise grade Content Management System (CMS) built on the Symfony Framework and other standard PHP components. It features a full RESTful API and a contemporary user interface. Jarves is quite a new project, but it builds on the experience and components of established software. Unlike many other Symfony CMSes wich use Doctrine, Jarves uses the Propel ORM. Key advantages of Jarves. A standard Symfony Framework Bundle. New codebase, no legacy concepts. Key disadvantages of Jarves.
marcjschmidt.de
PHP's Imagepng Performance. // Marc J. Schmidt, developer//entrepreneur from Hamburg, Germany
http://marcjschmidt.de/blog/2013/10/25/php-imagepng-performance-slow.html
Thoughts from a developer/ entrepreneur. Founder of AETROS.com. Function and its performance have a very interesting fact. When you think compression in. Comes with a quality-loss or you should always choose one of the highest compression then you’ll get now new information. Of this function we’re seeing following. Quality Compression level: from 0 (no compression) to 9. This means, if you call. Imagepng($image, null, 0). Imagepng($image, null, 9). JPEG) that has a dimension of. For just one image! As we...
marcjschmidt.de
Twig dynamic filters / from variable. // Marc J. Schmidt, developer//entrepreneur from Hamburg, Germany
http://marcjschmidt.de/blog/2013/12/12/twig-dynamic-variable-filters.html
Thoughts from a developer/ entrepreneur. Founder of AETROS.com. Twig dynamic filters / from variable. In Twig it’s not possible to call filters based on a variable per default. I’ve created therefore a small Symfony bundle that provides a new Twig filter. Which does exactly that: Calls filter based on a variable. Useful when you want to give your users a way to format something and therefore the filters comes from the database. You can download and install this Twig.
marcjschmidt.de
Home // Marc J. Schmidt, developer//entrepreneur from Hamburg, Germany
http://marcjschmidt.de/index.html
Thoughts from a developer/ entrepreneur. Founder of AETROS.com. PHP High-Performance - Follow Up with Symfony/Jarves.io and PHP-PM. This is a follow up article on Bring High Performance Into Your PHP App , which went quiet viral with over 100k visits. This does not only show that many people still struggle with PHP and its performance, but also that people are highly interested in a solution to this kind of issues. PHP-PM could be one solution. But first things first. If you have a continuous integration...
SOCIAL ENGAGEMENT