Questions tagged [Hierarchical structures] (26)

2
answers

What is the structure correct?

pages / public / user / mixins / post / mixins / secured / user / mixins / post / mixins //or pages / public / user / post / secured / user / post mixins / public / user / pages // or pages / user / public / mixins / secured / mixins / post / public / mixins / secured / mixins The questio...
Keenan53 asked April 4th 20 at 12:43
0
answer

Counting and grouping in the hierarchy (Sqlite)?

There are 2 tables. 1 is a hierarchical structure and is as follows: code | parent | level 001 | | 1 001.1 | 001 | 2 001.1.1 | 001.1 | 3 001.2 | 001 | 2 001.3 | 001 | 2 2-I contains articles and a column code (refers to 1st table)Want to get codes 2 level and the number of articles with corresponding codes, so that the cal...
Maxie.Jenki asked April 3rd 20 at 17:37
0
answer

How to build the file structure of the project?

Good day to all. Interested in the question of how to place the files into folders in the project. Let's have this structure: app - project - location - index.html - create.html .... - shop - index.html - create.html .... - item - index.html - create.html .... Here in General all is clear. But when let's say I w...
Oscar_Kunde asked March 31st 20 at 20:47
1
answer

A function that receives as input an array of objects with child elements. How to get this array with multi-level investments?

There is such an array of objectsconst obj = [ { name: 'hunter', isExpanded: true, children: [ { name: 'rain', isExpanded: true, children: [ {name: 'zevs', isExpanded: false }, {name: 'jupiter', isExpanded: false }, ] }, { name: 'vortex', isExpanded: false }, { name: 'fray', isExpanded: false }, ] }, { name...
deontae.Harber16 asked March 31st 20 at 15:31
3
answers

How to make a directory tree from the array of paths?

There is an array of type string mas = [ E:/folder/maps E:/1/2/3 E:/folder/new E:/folder/maps/2 D:/papka/echepapka E:/1/path/dir ] What the algorithm to circumvent this array to get the hierarchy of all folders? Preferably in python
audreanne.Prosacco84 asked March 30th 20 at 00:30
3
answers

How to structure URLs for multi-page website?

Dear guys with experience building multi-page websites! Please advise how to make the structure of URLs - strictly on the structure of the website, or you can reduce addresses? The website https://obrabotka-metalla-spb.ru/ How? 1) https://obrabotka-metalla-spb.ru/lazernaya-rezka-stali/ 2) https://obrabotka-metalla-spb.ru/...
2
answers

How to redirect on the website?

Good afternoon. A conventional corporate website, which offers some services and portfolio, divided into categories. Services: site.ru/services/ site.ru/services/design/ site.ru/services/develop/ Work: site.ru/works/ site.ru/works/design/ site.ru/works/develop/ In the site menu on the main page we can see links to pages Wor...
2
answers

What database to choose to store nested comments?

Good afternoon. Writing a comment system on the website. Works on websocket. On the server using Nodejs. System written set of examples on writing simple chat on NodeJS But the comments themselves can be nested, and in spite of this, it is necessary that it was easy to look at nested comments. And quickly choose the commen...
misty.Simonis asked March 11th 20 at 21:30
4
answers

The storage of category structures in relational databases?

Task — organize the storage of a directory with a sufficiently branched structure (tree) — let it be a product catalog of the online store. To search for an item only available URIs of the form "/category/subcategory/another-category/and-one-more-category". The maximum nesting of 10. Categories: frequently, rarely change, t...
benny_Anderson47 asked October 10th 19 at 06:16
3
answers

To obtain a hierarchical XML-structure query from a table in PostgreSQL?

In the table, relatively speaking, a tree table is stored: is the ID of the record id and link to parent record pid (the root IS NULL), there is still some data (field name, for example). The query I need to pull one value the entire hierarchical structure in XML. Actually, I do it. The question is, is there any opportunity...
damaris asked October 3rd 19 at 14:24