Upgraded to Laravel 5.2. Moderation, management, security are now all implemented on top of the basic functionality. Performance looks good. Now adding Facebook and Twitter integration. Look and feel of the HTML views are done. Next step; the iOS part. The framework is prepared to spit out json data, so the app will just be a frontend with some content adding facilities. As I will be writing the iOS stuff, I will also document the json output so it will become a fully documented API. Than we can outsource the Android part …
We found the bug in Bumpy Wheels which made the game unusable in iOS 9. So we fixed it and are releasing an update very soon.
The current project has an architecture which uses a plain laravel/blade template approach. In the future we want to replace this approach by a total ajax/json approach to reduce server load and use the web application the same as a mobile client/app.
Now for the first release of our curren t project we are switching to an intermediate approach in which we are going to use a starting blade template which is going to use ajax calls to load the content/pages. This has a lot of benefits regarding managing server load/http requests, but it does require some extra coding.
There are some issues with Bumpy Wheels and iOS 9, we are looking for a fix.
So we are still benefitting the completeness of the Laravel framework and started using the Pagination functions of Laravel. Which is absurdly easy except for a slight hiccup which needed some configuration of the web server.
Since Laravel captures all url requests and captures the
parameter to do its magic, this parameter must be accepted by Nginx as part of the request. By default the ubuntu Nginx implementation we use actually has the following configured for the server
try_files $uri $uri/ index.php$query_string;
, this results in a 404 error when using larval pagination. So to get it working just use
try_files $uri $uri/ index.php?$query_string;
in the Nginx server configuration (watch the question mark) and you can enjoy the pleasure of using Laravels pagination implementation.
Now to make things even a bit more user friendly, Momentjs is able to convert it localised to “time from x”. So by using this command: moment.utc(utc_date).local().fromNow() , we got a really nice “x time ago” text for the date. In which time is displayed in seconds, hours, days etc.
Until now we relied on Magnific Popup for our modal functions in the current project. And although it is a very nice modal solution it was overkill for our current project. In this project we really like to build and finetune the interface, and control all the aspects of it. So we changed to the far more basic but especially suited for our needs to the query-modal which fits this project.
It took about 40 minutes to upgrade from 5.0 with just a few hick-ups due to my own little knowledge of the framework.
It still amazes me how much I can do without having any in-depth knowledge of the framework. And I still feel comfortable with the security and stability of the application I am writing. Performance we shall solve through hardware 😉 Just kidding.
This is an overview of the application stack I am using for the development of the next project. It is a first time for me for a lot of components in this stack. Although over the years I have touch many of these technologies, they haven’t been standing still.