Just a tease

Is there a release date? No. What features? We’ll see. Building it on Laravel. What’s up with v3? I’m not sure. What’s up with v2? Super old codebase. I just finished upgrading it to be compatible with PHP 5.6. A lot of saying “wtf what I thinking”. 

As a few of you might know, I’m working as a software engineer on flight ops software at GE Aviation, so I’ve got some ideas for making the entire thing a lot more realistic. I’m thinking this will be a neat way to get this project re-kicked.  is kindly assisting!

1 Like

11 hours ago, Nabeel said:

Is there a release date? No. What features? We’ll see. Building it on Laravel. What’s up with v3? I’m not sure. What’s up with v2? Super old codebase. I just finished upgrading it to be compatible with PHP 5.6. A lot of saying “wtf what I thinking”. 

As a few of you might know, I’m working as a software engineer on flight ops software at GE Aviation, so I’ve got some ideas for making the realism a lot more realistic. I’m thinking this will be a neat way to get this project re-kicked.  is kindly assisting!

Perfect, Can I help!!!

19 hours ago, Nabeel said:

Is there a release date? No. What features? We’ll see. Building it on Laravel. What’s up with v3? I’m not sure. What’s up with v2? Super old codebase. I just finished upgrading it to be compatible with PHP 5.6. A lot of saying “wtf what I thinking”. 

As a few of you might know, I’m working as a software engineer on flight ops software at GE Aviation, so I’ve got some ideas for making the entire thing a lot more realistic. I’m thinking this will be a neat way to get this project re-kicked.  is kindly assisting!

Nice! Finally a version with an up-to-date framework in the works. I’ve used Laravel in the past (and still do in some side projects) and loved it, so interesting to see how this pans out. Will it be using 5.4? And I’ll ask this before you get it a thousand times, will there be a converter from v2/5.5.x?

1 Like

53 minutes ago, web541 said:

Nice! Finally a version with an up-to-date framework in the works. I’ve used Laravel in the past (and still do in some side projects) and loved it, so interesting to see how this pans out. Will it be using 5.4? And I’ll ask this before you get it a thousand times, will there be a converter from v2/5.5.x?

I’m aiming for 7.x, since 5.x is deprecated. And yeah, there eventually will be a converter. I like it. I’ve been doing mostly Python and Go for the last few years, so coming back to PHP has been a bit trippy

2 Likes

4 Likes

Hey Nabeel,

Salutations from the Virtual Airline Operations System project. How far off are you on this project? Maybe we can make our systems compatible.

Just a developer note from us. We have had issues with supporting Laravel on Shared Hosting. That will need to be something to be considered.

4 hours ago, Bonanza123d said:

Hey Nabeel,

Salutations from the Virtual Airline Operations System project. How far off are you on this project? Maybe we can make our systems compatible.

Just a developer note from us. We have had issues with supporting Laravel on Shared Hosting. That will need to be something to be considered.

There are a few options for shared hosting, none of them ideal, but I’m kinda debating on whether to fully support that or not. I’ll be testing a few work-arounds. Mainly the symlink from whatever the public_html folder is to the laravel public folder. Later cpanel versions support composer as well. I’m leaving to figure that out sometime later

Nice to see you back in action Nabeel. Hope all is well on your end.

18 hours ago, TAV1702 said:

Nice to see you back in action Nabeel. Hope all is well on your end.

Long time no see! Just been super busy, finding little pockets of time here and there to play with Laravel and it’s fun. Hope you’re doing well!

On 6/19/2017 at 2:33 PM, Nabeel said:

There are a few options for shared hosting, none of them ideal, but I’m kinda debating on whether to fully support that or not. I’ll be testing a few work-arounds. Mainly the symlink from whatever the public_html folder is to the laravel public folder. Later cpanel versions support composer as well. I’m leaving to figure that out sometime later

The best method I have found was to move the index.php file to wherever you need to move it and edit the 2 important directories it calls. Here’s the index.php file default for Laravel:

 

/\* |-------------------------------------------------------------------------- | Register The Auto Loader |-------------------------------------------------------------------------- | | Composer provides a convenient, automatically generated class loader for | our application. We just need to utilize it! We'll simply require it | into the script here so that we don't have to worry about manual | loading any of our classes later on. It feels nice to relax. | \*/ require \_\_DIR\_\_.'/../bootstrap/autoload.php'; /\* |-------------------------------------------------------------------------- | Turn On The Lights |-------------------------------------------------------------------------- | | We need to illuminate PHP development, so let us turn on the lights. | This bootstraps the framework and gets it ready for use, then it | will load up this application so that we can run it and send | the responses back to the browser and delight our users. | \*/ $app = require\_once \_\_DIR\_\_.'/../bootstrap/app.php';

This is the index.php file I am implementing for TFDi’s Shared Hosting system. Works like a charm inside the public_html folder:

// Notice the VAOS directory change require \_\_DIR\_\_.'/../VAOS/bootstrap/autoload.php'; $app = require\_once \_\_DIR\_\_.'/../VAOS/bootstrap/app.php';

 

What you need to do is change the directories to make sure they hit those bootstrap files and you’re completely home free. That’s how I got VAOS (aka Laravel) to work on even free hosting. The only thing you would need to then worry about is security. Laravel having it’s own public folder is very smart as you cannot directly access any critical files by playing with the URL unlike other CMS systems. This of course as you have experienced first hand can be a pretty daunting problem.

The other issue that would need to be considered is storage. Laravel runs all it’s storage through the /storage/app directory however with Artisan you would need to create a symlink for VAs to have a “File Manager” built into the system. This opens up a separate can of worms for another post.

Long story short is that there are many ways to slice the cake.

If you want to chat more, hit me up on my Discord server. Would love to talk about unifying the VA in a way which will allow everyone to benefit from our two systems. https://discord.gg/xWFPf4W

For shared hosting, I was thinking that, or better, would be a symlink to the public directory. In cpanel, at least, public_html is already a symlink, so modifying that should be trivial.

Hoping that many/most of the present freeware modules are included in version 4, as was stated in the teaser for the now defunct version 3. Or at least an easy fix to existing modules to work with the Laravel framework. It would be a shame to lose many of the existing modules many of us are using.

On 6/24/2017 at 6:50 PM, ProAvia said:

Hoping that many/most of the present freeware modules are included in version 4, as was stated in the teaser for the now defunct version 3. Or at least an easy fix to existing modules to work with the Laravel framework. It would be a shame to lose many of the existing modules many of us are using.

They probably will have to be rewritten and adapted. But on the upside, it should be much easier and cleaner interfaces for doing so

1 Like

hey Nabeel  verry long time no see hope all is wel and looking forward to the v4

On 7/14/2017 at 1:04 PM, joeri said:

hey Nabeel  verry long time no see hope all is wel and looking forward to the v4

Yes my friend, you too!

V4 seems interesting, good to see you active Nabeel.

Hot damn, this forum has changed a lot since I’ve being on it last! good to see phpVMS is gonna be updated!

Im wondering though, would the current phpvms addons still work on that new version? 

7 hours ago, mischka said:

Im wondering though, would the current phpvms addons still work on that new version? 

Probably not. This new phpVMS is based on Laravel which is a whole different framework and set of APIs. But hey…code is code. Someone’s gonna find a way to copy/paste things around and make it work.