Chuckalicious's avatar

Moving to Laravel

Hi all, I thought I had posted this earlier but doesn’t seem to be there. Apologies if I’ve double posted.

I was a coder/developer in a previous career and haven’t done it in about 12 years. Came across an opportunity at work which I wanted to have a go at. Basically, I have created a single web page, running on XAMPP and using jQuery/UI at the front end.

The page periodically (10 mins but can be done at any point) appointments from our patient management system via REST API, manipulates the data, brings in some extra data from a local sql database with stuff that can’t be stored on the patient system. This info is then displayed as a chart of individual appointments, each with various bits of data.

Users can interact by updating the status of a patient, theatre locations, timings etc. This is sent to the db using jQuery Ajax.

It works well at the moment but it is gathering momentum and has the potential to become more complex. I need a better authentication/authorisation implementation along other things and I think Laravel would be suitable.

What I’m unsure of is how I would translate my structure of a single page made up of php files and JavaScript files on XAMPP into the structure Laravel uses, which I am yet to get my head around.

Thanks all.

0 likes
3 replies
martinbean's avatar

@chuckalicious Laravel heavily uses the MVC pattern, so you’d need to get your head around that first if you don’t really know what controllers and models are. Once you’re familiar with those concepts, you can start creating models for the objects in your application, and controllers to manipulate (retrieve/save/delete) those entities.

1 like

Please or to participate in this conversation.