How yulcaribe/main works
YulCaribe is an aviation-information web app centered on an interactive map. Users switch map modes to inspect navigation charts, live aircraft, NOTAMs, and WAFS overlays; the map controller activates the relevant client module, which requests data from PHP endpoints. Separate weather and NOTAM pages are also present. The sampled code supports the map dispatch and several API integrations; unsampled page wiring and some backend details are not inferred.
Main entry points: map.js Map controller · cron.php NOTAM synchronizer · charts.js Charts layer · notam.js NOTAM layer
Components 23
Interactive map
- Map controller
map/map.js - Charts layer
map/charts.js - NOTAM layer
map/notam.js - Aircraft layer
map/adsb.js - WAFS overlays
map/wafs.js
Aviation services
- Navigation data API
api/navdata.php - NOTAM API
api/notam.php - ADS-B API
api/adsb.php - WAFS API
api/wafs.php - METAR/TAF API
api/metartaf.php - NOTAM synchronizer
api/cron.php
Operational data
- Navigation database
api/navdata.php - NOTAM database
api/notam.php
Web pages
- Map interface
map/index.html - Weather and app logic
app.js - Home page
index.html - NOTAM page
notam/index.html - Health page
health/index.html
Other components
- Visitor
- FAA NMS
- Aircraft feed
- AviationWeather.gov
- AWC WAFS
Connections 22
- Visitor → Map interface: opens
- Map interface → Map controller: loads
- Map controller → Charts layer: creates and activates
- Map controller → NOTAM layer: creates and activates
- Map controller → Aircraft layer: creates and activates
- Map controller → WAFS overlays: creates and activates
- Charts layer → Navigation data API: requests viewport data
- NOTAM layer → NOTAM API: requests map and detail
- Aircraft layer → ADS-B API: requests aircraft
- WAFS overlays → WAFS API: requests image
- Navigation data API → Navigation database: reads
- NOTAM API → NOTAM database: reads
- NOTAM synchronizer → FAA NMS: fetches NOTAMs
- NOTAM synchronizer → NOTAM database: stores and prunes
- ADS-B API → Aircraft feed: fetches feed
- METAR/TAF API → AviationWeather.gov: fetches reports
- WAFS API → AWC WAFS: fetches imagery
- Visitor → Home page: opens
- Visitor → NOTAM page: opens
- Visitor → Health page: opens
- Home page → Weather and app logic: loads
- NOTAM page → Weather and app logic: loads