PHPNews

206 Partial Content

206 Partial Content is used for range requests. It’s possible for a HTTP client to request only portions of a resource using range requests. Examples of this might include a large log resource for which a client only wants the last n bytes. Or maybe a video and the client doesn’t want to buffer more data than …

Continue reading »

Written by Evert Pot - - Aggregated on Tuesday August 14, 2018


70/70

A few days ago, a friend of mine asked me to join him in a new startup. He said that he needed a partner, to help him partially finance the project, promote it, bring in new ideas, and push the business forward. I liked the business idea and wanted to participate. I started to ask questions about our future partnershi…

Continue reading »

Written by Yegor Bugayenko - - Aggregated on Tuesday August 14, 2018


Mo' models mo' problems

One of the best things about Vue templates is the special v-model prop. v-model allows you two quickly map prop getters and setters without breaking unidirectional data flow. Props down, events up. <!-- People.vue --> <template> <filter v-model="filter"></filter> <ul> …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Tuesday August 14, 2018


Color Coding Achievements

At the moment, all achievements exist on the same playing field, which we designate using a blue background. Let's add the necessary logic to specify a …

Written by Laracasts - - Aggregated on Monday August 13, 2018


More code comments

Recently I read a comment on Twitter by Nikola Poša: I guess the discussion on my thread is going in the wrong direction because I left out a crucial hashtag: #NoCommentsInCode - avoid comments in code, write descriptive classes, methods, variables. https://t.co/MuHoOFXCvV — Nikola Poša (@nikolaposa) July 13, …

Continue reading »

Written by Matthias Noback - - Aggregated on Monday August 13, 2018


Vue CLI 3.0

Vue CLI is the standard tooling baseline for the Vue ecosystem. It ensures the various build tools work smoothly together with sensible defaults so you can …

Written by Laravel News - - Aggregated on Monday August 13, 2018


Using Config Files with Ngrok

I'm a huge fan of Ngrok , a tool to create a secure tunnel to your laptop. It is brilliant for testing, well, anything running locally really. Someone asked me about my setup recently and I'm using a couple of config files to keep things quick and consistent, so I thought I'd share here what I shared with them. You …

Continue reading »

Written by Lorna Jane - - Aggregated on Monday August 13, 2018


Python3 Fixtures

Just a reminder using pickle I can easily make fixtures for testing. When I get results from AWS SDK for example I can just ``` import pickle with open("fixtures/describe_task_defination.pickle", 'wb') as fixture: pickle.dump(self.stored_state_to_save, fixture) ``` Then when I want to feed it back in my …

Continue reading »

Written by Alfred Nutile RSS - - Aggregated on Saturday August 11, 2018


Custom Achievement Collections

In some situations, you may find it beneficial to return a custom collection class for your various Eloquent queries. No problem: overriding the newCollection …

Written by Laracasts - - Aggregated on Friday August 10, 2018


How to Install PHP on Windows

We've previously shown you how to get a working local installation of Apache on your Windows PC . In this article, we'll show how to install PHP 5 as an Apache 2.2 module. Why PHP? PHP remains the most widespread and popular server-side programming language on the web. It is installed by most web hosts, has a …

Continue reading »

Written by Sitepoint - - Aggregated on Friday August 10, 2018


Weekly Update 99

It's a traveling weekly update this week as I round out a couple of workshops in Sydney and head to Canberra. That's thrown the normal video cadence out a bit with me recording on a Thursday night (hence the beer) and publishing on a Friday morning, but there's a heap of stuff in there regardless. This week, I'm …

Continue reading »

Written by Troy Hunt - - Aggregated on Thursday August 9, 2018