M
M
mayerda2018-02-19 01:24:09
Web development
mayerda, 2018-02-19 01:24:09

How to write a website for a construction company? Do you need: a form for a preliminary calculation of the house (many parameters), printing documents, registration, etc.?

Hello!)
There was a question.
How to write a website for a construction company? Now with a friend we are trying in half with grief to implement this with js, ajax (the worst), mysql, php, jquery.
It is necessary to implement a lot of things, such as: registration and access rights to pages depending on the user group, preparing documents for printing (for example, a commercial offer, TK, and so on), but, most importantly, this is a "preliminary calculation" based on data, which the client has the option to enter CAM. For example, areas, number of floors, and so on, the most basic things.
We have several relatively large tables, one of these, for example (a list of all kinds of materials for construction) contains ~ 2000 records. And the most difficult thing we faced, and most likely the most difficult thing in this project, is that we do not know how to REASONABLY implement such a thing:
5a89fbeceab0c143241280.png
We want to implement a form for preliminary calculation, and we do not know how to do it: there are MANY parameters, and you need to make sure that when choosing one, depending on the conditions, the others change IMMEDIATELY. That is, for example, by selecting foundation 1, the client was shown one set of options in the "Architecture" list, and, for example, when choosing another foundation, a completely different set of options was displayed to him. Now this is very crookedly implemented by us using ajax and mysql, but perhaps there are other simpler things.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
B
Boris Syomov, 2018-02-19
@kotomyava

The only good advice, if you want your form to be professionally made and work properly, is to hire a developer.
You cannot be taught to code in answers to questions so that you can do it yourself - there is no one answer that will allow you to do this.
You need to either seriously study, or hire someone who already knows how.
As for the rest - you don't need to make a website from scratch, take a ready-made CMS, and add the same form, and other specific things. And the rest will be ready, registration, sharing access, editing pages, etc...
Well, a little criticism of the task itself: The calculation of the cost of a house, even a preliminary one, should begin with the choice of a finished project. If it is not there, then such a calculation is simply useless - there will be a huge discrepancy between the assessment and reality. And if there is, then the form is complex and not needed - you just need to provide a choice of one of the projects and several possible options.
Actually, look at how it is done on other sites of this kind...
In addition, the user does not need such a form either - the pro will immediately follow the project, which will have an estimate, and the non-pro will not master the complex form, he needs pictures and simple options .

X
xmoonlight, 2018-02-19
@xmoonlight

It's a super-secret AJAX technology and object programming!
All three of these factors will help to make similar forms that can work correctly.
Yes, and the third factor is a developer with good knowledge of JS.
I advise you to build the process of creating a site more correctly.

K
Konstantin Nagibovich, 2018-02-19
@nki

Did the customer want such a complex preliminary calculation of the cost of the house? I suspect that at this stage a lot of clients will fall off.

A
Andrey Astafiev, 2018-02-19
@Astafiev_Andrey

I would take the yii2 framework for the backend, I would refuse jquery and other js plugins / libraries and take only angularjs.
yii2 is one of the fastest frameworks and you don't need to sweat a lot to do pretty simple things.
angularjs allows you to quickly and dynamically display everything on the page. there are more material-style ready-made components https://material.angularjs.org/latest/

A
Adamos, 2018-02-19
@Adamos

You need to implement a lot of things, such as: registration and access rights to pages depending on the user group

Standard functionality of any CMS or popular PHP framework
Simple enough to write using mPDF
But this is a task perpendicular to everything else on the site. Because it is desirable for all this calculation to be on one page, and this page depends minimally on the other site. As is he from her. Javascript now allows you to do anything on the page - you just need to be able to do it.
For example, make a calculation in the form of a wizard - windows in which you can make a choice, which determines which window will open next (and you can return if you change your mind). The windows are all on one page (only the current one is visible at any given moment), they are controlled by javascript.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question