Best approach for web app

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
ovigm
New php-forum User
New php-forum User
Posts: 5
Joined: Mon Aug 10, 2020 7:14 am

Mon Aug 10, 2020 7:26 am

Hello,

I have a local windows app developed in Visual Basic. It uses: access mdb databases, datagridviews for displaying data, different modules for project management, client management tools, engineers tasks and ToDo lists, etc.... It was created using Visual Basic and it is used by the entire company.

Now, I would like to recreate this app and transform it into a web app. As far as I can tell php is the best way to go. I began studying it and so far I really like it. Of course, I will also have to rewrite the code for SQL Database.

My question to you is: how should I best approach this task, especially regarding the user interface?

After I will learn PHP I suppose I will have to create the HTML user interface. After searching the internet I found different things like: Joomla, Bootstrap, Foundation etc...

I am only familiar with plain HTML code but I suppose it is not enough.

So, besides php coding, what are your suggestions for creating the UI? Basically there will only be tables, buttons, labels, pages, etc.... But I need them to look good and professional.

Are there any other necessary things that I would have to know (besides PHP and UI creation tool)?

Thank you.
User avatar
hyper
php-forum GURU
php-forum GURU
Posts: 1192
Joined: Mon Feb 22, 2016 5:52 pm

Mon Aug 10, 2020 9:35 am

Essentially, you just translate your functions, methods etc.. into PHP. That's easy said. The biggest difference is that VisualBasic stays in residence and PHP scoops everything together and spits a page out.

If you know HTML, stick with it, don't clutter your code with frameworks, all you need to do is translate - HTML acts as the window and all of its elements.

Your SQL should be very similar, but spend some time learning PDO as you need to protect user input and this is the simplest way of doing it.

Maybe some AJAX later on, but get the thing working without it first.

All of the work that you did to write the VisualBasic program can be used, any notes diagrams etc. keep the same naming conventions so far as you can.
ovigm
New php-forum User
New php-forum User
Posts: 5
Joined: Mon Aug 10, 2020 7:14 am

Tue Aug 11, 2020 9:34 pm

Ok,

Thank you for your answer. I am able to create basic web interface using HTML code only but there are some problems. First, it will not look to good. I have seen in those frameworks some very nice buttons, forms, nice design, etc...

Second, it will not look the same on all browsers. Third, I would like to be able to use this app also on a phone or tablet.

I don't think that plain HTML code would be enough.
User avatar
hyper
php-forum GURU
php-forum GURU
Posts: 1192
Joined: Mon Feb 22, 2016 5:52 pm

Wed Aug 12, 2020 8:25 am

Sorry, I should have mentioned CSS, I took it as read that HTML and CSS are learned together :oops: .

Maybe this will help you, it offers a good way to approach writing web pages, he also has a forum if you run into trouble.
Post Reply