Wednesday, January 27, 2016

OctoberCMS CRUD – Building a Team/Project Management Plugin

So far, we covered different aspects of OctoberCMS. This is a follow up article to discover how to use OctoberCMS for CRUD applications and take a detailed view at how to work with models, relations and controllers. Let’s get started.

OctoberCMS logo

Requirements

I will assume you already know how to set up a working installation of OctoberCMS. If not, you can check out the introduction article, or read the installation section in the documentation.

What We're Building

We are going to build a project management plugin where you can add different users to teams and assign them to projects. You can check the final result on GitHub, and feel free to suggest edits or additions to the plugins.

Setting up the Plugin

Let’s start by using the create:plugin scaffolding command to create the initial plugin structure, and define the Plugin::pluginDetails method with our plugin details.

php artisan create:plugin rafie.sitepointDemo

// Plugin.php

public function pluginDetails()
{
    return [
        'name'        => 'Project management',
        'description' => 'Manage your teams and projects.',
        'author'      => 'RAFIE Younes',
        'icon'        => 'icon-leaf'
    ];
}

Continue reading %OctoberCMS CRUD – Building a Team/Project Management Plugin%


by Younes Rafie via SitePoint

This Week in Mobile Web Development (#92)

Read this on the Web

Mobile Web Weekly January 27, 2016   #92
Brian Rinaldi recommends
Responsive Image Breakpoints Generator, A New Open Source Tool — Nadav Soferman explains the challenges with responsive image breakpoints today and a solution for finding the optimal breakpoints for each specific image.
Smashing Magazine
Brian Rinaldi recommends
Google’s AMP Poised To Take The Lead From Facebook’s And Apple’s Walled Gardens — Frédéric Filloux explains why he think’s Google Accelerated Mobile Pages project will take the lead over the Facebook and Apple alternatives.
Monday Note
Peter Cooper recommends
Google Shifts Chrome for iOS to Apple’s WKWebView, Reducing Crashes by 70% — Tests by Google proved the new update reduces the app’s crash rate by 70 percent, letting users pick up where they left off on a page from any device without a crash causing issues.
Mac Rumors
This issue is sponsored by Imgix
Implement Responsive Images With No Hassle — Making images responsive doesn't have to be complicated. imgix handles every device size and orientation, and supports the srcset attribute, the picture element, and Client Hints. Integration is simple—try it out for the first month risk-free.
Imgix

Brian Rinaldi recommends
Fast, Lightweight Data Storage for Cordova Apps with LokiJS — Wern Ancheta shows how to built an Ionic app that uses LokiJS for local storage.
SitePoint
Holly Schinsky recommends
rtc-everywhere: Cross-Everything WebRTC Mega-Project — A spec-compliant WebRTC-in-as-many-environments-as-possible mega project.
contra
Holly Schinsky recommends
Populate Controls in your PhoneGap Apps using a Client-Side Data Cache — How to use client-side data caching to populate the controls in your PhoneGap apps with Alpha Anywhere.
Alpha Software
Brian Rinaldi recommends
Creating a Real Time Chat Application with Ionic 2 and Socket.io — Building upon a previous Angular 2 tutorial but porting to Ionic 2.
Nic Raboy
Peter Cooper recommends
Facebook Updates Audience Network To Include Support For Mobile Web
TechCrunch
Brian Rinaldi recommends
Native Mobile Maps from Telerik and Mapbox — Rob Lauer shows how to leverage Mapbox open source maps within a Cordova or NativeScript mobile app using the provided plugins.
Telerik Developer Network
Holly Schinsky recommends
Foundation 6: The New Menu Component — Foundation 6 introduces a new, simpler to use menu component for your app navigation.
SitePoint
Holly Schinsky recommends
5 ways to speed up your design with UI kits — Different ways you can use UI kits to aid in your app design process.
Creative Bloq
Brian Rinaldi recommends
ngCordova - Contributing a Plugin Mock with Tests — Todd Halfpenny shows how he built a printer mock for browser testing with the cordova-plugin-printer plugin.
MobileCaddy
Brian Rinaldi recommends
Persist NativeScript App Data After an App has Closed — A look at the options why the author decided to use file from the file-system module to persist NativeScript app data after an app has closed.
Mike Branstein
Holly Schinsky recommends
starter-framework7: A starter project structure for Framework7 app using Express and Vue.js — A starter project structure for Framework7 app using Express and Vue.js.
Roshan Wu
Brian Rinaldi recommends
What happens when you screw up an Ionic Deployment? — In most cases, you can roll back and deploy a fix - but not in all.
Raymond Camden
Job listing
Stop Applying to Jobs - Let Companies Apply to You — On Hired, sign up in 10 minutes and get offers from top companies like Facebook, Uber, & Stripe. Engineers get an average of 5 offers on the platform in 1 week. Try it today.
Hired.com

Curated by Brian Rinaldi and Holly Schinsky for Cooper Press.
Cooper Press is located at Office 30, Fairfield Enterprise Centre, Louth, LN11 0LS, UK
Update your email address
or stop receiving MWW here


by via Mobile Web Weekly

iOS 9: An Introduction to the Contacts Framework

Interactive Bar Graph with CSS and jQuery

An interactive bar graph with animations and information. It's built with CSS and jQuery.


by via jQuery-Plugins.net RSS Feed

Get a Lifetime of Secure Browsing from SlickVPN for $40

Get a lifetime of secure browsing from SlickVPN for $40

It doesn't matter whether you regularly travel around the world or haven't gone farther than your neighborhood coffee shop in months. If you're using public Wi-Fi, you need the protection of a VPN service to keep your private info away from hackers and snoops. Protect yourself with a lifetime subscription to SlickVPN CORE, now just $40 at SitePoint Shop.

You'll save 96% on the regular price of $1,000 when you snag this deal now. And with it, you'll get equal parts online protection and freedom for a lifetime. SlickVPN will encrypt your browsing, mask your IP address, hide your location, and secure you data when you're using a public connection. And it'll also bypass geo-restrictions when you're traveling out of the country, letting you access services like Hulu and Netflix almost anywhere in the world.

Don't miss this deal. Get a lifetime subscription to SlickVPN CORE for $40 at SitePoint Shop.

Continue reading %Get a Lifetime of Secure Browsing from SlickVPN for $40%


by SitePoint Offers via SitePoint

This Week's HTML5 and Browser Technology News (Issue 224)


Read this e-mail on the Web
HTML 5 Weekly
Issue 224 — January 27, 2016
Mozilla Hacks
With your permission, web sites can now send notifications to Firefox. They’re indistinguishable from native notifications, use Service Workers to operate, and there are a few demos at the bottom of serviceworke.rs.


Cloudinary
Using this online tool, developers can interactively analyze images to generate the optimal responsive image dimensions, as well as the HTML markup for using them. Smashing Magazine has an extensive write-up on how to use it productively.


The WHATWG Blog
Anne van Kesteren quickly reflects on how the work done on the HTML Standard is now more open than ever before.


Frontend Masters  Sponsored
Which courses on front-end, Node.js, the Web Platform, etc. would you like to see? Vote on the topics most important to you.

Frontend Masters

Jake Archibald
Google’s Jake Archibald is excited about the potential of the still under development streams API to improve Web responsiveness. It’s complicated though so you might wanna grab a coffee.


Mikito Takada
A not-quite-book-length set of chapters walking through every major concept in CSS layout, with dozens of applied examples to illustrate them.


Mozilla Hacks
Firefox has joined Chrome in implementing the Web Speech API which makes speech recognition and synthesis possible in the browser. Here’s a look at how it works.


Delve Fonts
Inspired by Highway Gothic and sponsored by Red Hat.


Jobs

  • Senior Frontend Developer at bonifyMake a dent in the Fintech universe. How? Join our vibrant international team and be responsible for a unique user experience. See what we can offer you. bonify
  • Get 10 offers from top tech companies in one week.Indeed Prime is an elite new program from Indeed.com that presents in-demand tech talent like you to top employers. Indeed Prime opens the door to exciting career opportunities with one simple application. Join today. Indeed

In brief

Curated by Peter Cooper and published by Cooper Press.
Want to post a job? E-mail us or use our self-serve system.

Unsubscribe : Change email address : Read this issue on the Web

Published by Cooper Press Ltd. Office 30, Lincoln Way, Louth, LN11 0LS, UK


by via HTML5 Weekly

Factory Girl 201