As part of the Face Login system, I have access to a number of images of faces that were used to train the face recognition system. It would make sense to be able to display a profile image of the logged-in user using one of these photographs.
The plan is to upload all the images of users to Amazon S3, make each image publicly accessible, and then display the relevant image by linking to the image from the profile page of the Face Login system
Continue reading “DAT602 – Face Login – Profile Image/Amazon S3”
I have developed a functioning face login system based on Microsoft’s Azure Face API, Node.js and Express. After users have logged in using the face recognition system, I would like them to be able to access some personalised content from their social media platforms.
The first platform I looked at was Twitter and I made use of Tolga Tezel’s Twit package (Tezel, no date).
Continue reading “DAT602 – Face Login – Twitter Visualisations”
Now that this basic system is functioning as expected, I can use it as the basis for a Node.js/Express user authentication system using the popular Node package, Passport.
Continue reading “DAT602 – Face Login and User Authentication with Node.js Passport”
In my previous post, I developed some Python scripts which used Microsoft’s Azure Face API (Microsoft, no date) to train and recognise faces.
Whilst the scripts functioned in the way I intended, the usability of the Python scripts for face recognition is not ideal for a number of reasons.
Getting Started with Laravel and Github
Perhaps it’s just me, but I initially struggled with integrating GitHub into my Laravel workflow. I wasn’t sure whether I should create a repository on GitHub.com first, then install my Laravel application and then push it to GitHub. Or should I install my application first or what? Anyway, through trial and error, I established a VERY simple workflow that seems to work for me.
As ever, the leitmotif for this series is: take everything I say with a pinch of salt. This is a BASIC workflow and does not cover all of the possible scenarios that you may encounter in your own workflow. Don’t forget to read the disclaimer!
Continue reading “Laravel – My Journey – Part 6 – A Basic GitHub Workflow”
INTEGRATING BOOTSTRAP 4
Surprisingly, I have more to say about Laravel. However, this time I’m going to talk a bit about integrating the Bootstrap framework into my Shopping List application.
Those of you who have slavishly followed my ineptitude from it origins in Part One of this series will know that my fledgling application has reached a point where we actually have to present some content to the user. Part 4 briefly touched upon Laravel’s Blade templating engine, and how it can be used to take data passed to it from a controller and return it to the user. Rather excitingly, I am now going to look at making that data look nice. Step forward Bootstrap 4 (beta … beta 2) …
Continue reading “Laravel – My Journey – Part 5 – Bootstrap 4”
ROOM WITH A VIEW
No-one is more surprised than me that this series has reached its fourth instalment. So far, I’ve laid the groundwork for my Laravel Shopping List’s backend. I have a database, I have the models, I have the controllers. But I haven’t anything to show the user yet. I’ll need that. Let’s see how Laravel’s Blade templating system takes my data and presents it to the user …
Continue reading “Laravel – My Journey – Part 4 – Room With a View”
In MVC architecture, controllers interact with data (via models) based on a user’s request and pass it to a view so that data can be displayed to the user. In my application, a user may request a list of products. Laravel will route this request to a controller. The controller will request all the products from the database and then return the results back to the user via a view.
In this article, I’ll look at the controllers required for my Laravel Shopping List application. I’ll also touch upon routing as this is integral to the application flow.
Continue reading “Laravel – My Journey – Part 3 – Controllers”
The ‘M’ in MVC
The ‘M’ in MVC stands for model. What is a model? In object-oriented programming, a model is a representation of a real-world object, such as a person, a product, a car, or a list. The representation takes the form of data that is related to the object in question. Not only that, but that model includes rules that relate to the data that represents it. My nascent Laravel shopping list application will require some models … but which models? Continue reading “Laravel – My Journey – Part 2 – Model Relationships”
LARAVEL Multi-user shopping list application
At the start of July 2017, I started a 12-month work placement as a web developer. The placement is with Two Superior Studios Ltd, a small studio based at Plymouth Science Park. Two Superior primarily work with the Laravel PHP framework. Prior to this placement, my PHP skills were a little rusty, and I’d not even heard of Laravel nor used an MVC framework.
It’s now October. Having worked on a number of client projects and got my feet wet, I decided it was time for me to create my own application. Continue reading “Laravel – My Journey – Part 1 – Shopping List Application”