Please do NOT post requests for help here. Use the Help forum for that.

TOPIC: [SOLVED] webtrees architecture

webtrees architecture 2 months 3 weeks ago #1

  • bgva2005
  • bgva2005's Avatar
  • Offline
  • New
  • Posts: 5
I would like to know more tecnical information about how was build webtrees, the first questions that I have are:

1.- It is build with a framework "like laravel"
2.- which it is the tecnology that use
3.- Inside VENDOR folder we can find some files, where can I find information about their propose?

Thanks for your help.
The administrator has disabled public write access.

webtrees architecture 2 months 3 weeks ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10844
> 1.- It is build with a framework "like laravel"

No.

However in webtrees 2.0 we are rewriting the code to use laravel structures, functions and libraries.
The plan is that a future version (3.0??) will be based on laravel.

> 2.- which it is the tecnology that use

Mostly hand-written scripts. Much of the design is very old - which is why it is being rewritten for 2.0

> 3.- Inside VENDOR folder we can find some files, where can I find information about their propose?

To find documentation for these packages, type their names into the search box at packagist.org.

e.g. to find the purpose of vendor/league/flysystem, search for league/flysystem at packagist.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

[SOLVED] webtrees architecture 2 months 2 weeks ago #3

  • bgva2005
  • bgva2005's Avatar
  • Offline
  • New
  • Posts: 5
Problem solved.
The administrator has disabled public write access.

webtrees architecture 2 months 2 weeks ago #4

  • bgva2005
  • bgva2005's Avatar
  • Offline
  • New
  • Posts: 5
> However in webtrees 2.0 we are rewriting the code to use laravel structures, functions and libraries.
The plan is that a future version (3.0??) will be based on laravel.

Why dont use directly laravel intead to rewrite with a similar structure?

> Where can I find the list of developers and theirs roles?
The administrator has disabled public write access.

webtrees architecture 2 months 2 weeks ago #5

  • eh215
  • eh215's Avatar
  • Offline
  • Junior
  • Posts: 159
FishAreBest is the primary developer with support, especially on the testing side, from a small group of volunteers.

Remember that this is *free* software, there is no large team building & supporting it, the work is being done on a volunteer basis by those that love and appreciate this work.

Why isn't it being done faster? Why isn't there extensive documentation? Simply because those working on it are fitting this in around everything else in their lives, and in most cases that includes full-time jobs.

As noted before, this product started out as a series of PHP scripts intended to edit and display a GEDcom file, It has been heavily modified over the years, by several authors with varying skill levels, but it works, so any re-write takes time and a lot of effort to avoid breaking things that people have come to depend on.

If you have the skills to help out, take a look at the code and chat with FishAreBest a bit on the side, there may be areas he could use your help with

Eric
webtrees 1.7.12 at behunt.net/ft
PHP 7.0.31, MySQL 5.6.41-84.1
The administrator has disabled public write access.

webtrees architecture 2 months 2 weeks ago #6

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10844
> Why dont use directly laravel intead to rewrite with a similar structure?

I have two choices.

1) start from scratch with the new architecture.
2) slowly convert the software to the chosen architecture.

I have seen very many open-source software projects fail with (1). The main problems are:
a) users won't accept the new version until it is 100% compatible with the old.
b) users do not like change, and so you much change things slowly.
c) you must support two very different code-bases for an extended period of time.

So, I am re-writing it in-situ. Things like:
a) changing the same folder structure to be the same as laravel.
b) changing the class names to be the same as laravel.
c) using the same libraries and helper functions as laravel.

For the last few weeks, I have been replacing the database interface layer with laravel's query-builder.
This work can be done in small pieces - one hour here, one hour there. This is perfect for this type of project.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

webtrees architecture 2 months 2 weeks ago #7

  • bgva2005
  • bgva2005's Avatar
  • Offline
  • New
  • Posts: 5
You and all the developers group have been making an ESCELLENT work.

For the "rendering process" do you use any template?
The administrator has disabled public write access.

webtrees architecture 2 months 2 weeks ago #8

  • norwegian_sardines
  • norwegian_sardines's Avatar
  • Offline
  • Gold
  • Posts: 1510
I've seen many commercial applications provide inferior products with #1 as well. They very often drop functionality, break previously working functions, change well established processes and interfaces or take far too long to distribute.

Total rewrites of software to make the programs more efficient, more maintainable, or to take advantage of some other coder requirement is valuable and necessary for the people developing the software, but of little value to the user if the reason they use the program is lost.

I generally take the approach of incremental change, thus easing my users into business process changes, and interface changes, while also giving them code fixes, and new function they want. It makes my development harder to my regret, but the software we produce is for the benefit of our clients, first, and our development enjoyment second.
Ken
The administrator has disabled public write access.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

webtrees architecture 2 months 2 weeks ago #9

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10844
> For the "rendering process" do you use any template?

Yes.
The templates can be found in /resources/views/.../*.phtml
They are rendered by the class app/View.

These are simple PHP templates - and are are a subset of laravel blade templates.

The facility exists for both themes and modules to overwrite the core templates, but the mechanism for doing this is not finalised (which is the main reason we have 2.0.0-alpha rather than 2.0.0-beta).
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.
Powered by Kunena Forum