PHP hook, building hooks in your application
Introduction
One of the real challenges in building any type of framework, core or application is making it possible for the developers to hook into the business logic at specific points. Since PHP is not event based, nor it works with interrupts you have to come up an alternative.
The test case
Lets assume we are the main developers of a webshop framework. Programmers can use our framework to build complete webshops. Programmers can manage the orders that are placed on the webshop with the order class. The order class is part of our framework and we don’t want it to be extended by any programmer. However we don’t want to limit to programmers in their possibilities to hook into the orders process.
For example programmers should be able to send an email to the webshopowner if an order changes from one specific delivery status to another. This functionality is not part of the default behavior in our framework and is custom for the progammers webshop implementation.
Like said before, PHP doesn’t provide interrupts or real events so we need to come up with another way to implement hooks into our application. Lets take a look at the observer pattern.
Implementing the Observer pattern
The observer pattern is a design-pattern that describes a way for objects to be notified to specific state-changes in objects of the application.
For the first implementation we can use SPL. The SPL provides in two simple objects:
SPLSubject
- attach (new observer to attach)
- detach (existing observer to detach)
- notify (notify all observers)
SPLObserver
- update (Called from the subject (i.e. when it’s value has changed).
iOrderRef = $iOrderRef;
// Get order information from the database or an other resources
$this->iStatus = Order::STATUS_SHIPPED;
}
/**
* Attach an observer
*
* @param SplObserver $oObserver
* @return void
*/
public function attach(SplObserver $oObserver)
{
$sHash = spl_object_hash($oObserver);
if (isset($this->aObservers[$sHash])) {
throw new Exception('Observer is already attached');
}
$this->aObservers[$sHash] = $oObserver;
}
/**
* Detach observer
*
* @param SplObserver $oObserver
* @return void
*/
public function detach(SplObserver $oObserver)
{
$sHash = spl_object_hash($oObserver);
if (!isset($this->aObservers[$sHash])) {
throw new Exception('Observer not attached');
}
unset($this->aObservers[$sHash]);
}
/**
* Notify the attached observers
*
* @param string $sEvent, name of the event
* @param mixed $mData, optional data that is not directly available for the observers
* @return void
*/
public function notify()
{
foreach ($this->aObservers as $oObserver) {
try {
$oObserver->update($this);
} catch(Exception $e) {
}
}
}
/**
* Add an order
*
* @param array $aOrder
* @return void
*/
public function delete()
{
$this->notify();
}
/**
* Return the order reference number
*
* @return int
*/
public function getRef()
{
return $this->iOrderRef;
}
/**
* Return the current order status
*
* @return int
*/
public function getStatus()
{
return $this->iStatus;
}
/**
* Update the order status
*/
public function updateStatus($iStatus)
{
$this->notify();
// ...
$this->iStatus = $iStatus;
// ...
$this->notify();
}
}
/**
* Order status handler, observer that sends an email to secretary
* if the status of an order changes from shipped to delivered, so the
* secratary can make a phone call to our customer to ask for his opinion about the service
*
* @package Shop
*/
class OrderStatusHandler implements SplObserver
{
/**
* Previous orderstatus
* @var int
*/
protected $iPreviousOrderStatus;
/**
* Current orderstatus
* @var int
*/
protected $iCurrentOrderStatus;
/**
* Update, called by the observable object order
*
* @param Observable_Interface $oSubject
* @param string $sEvent
* @param mixed $mData
* @return void
*/
public function update(SplSubject $oSubject)
{
if(!$oSubject instanceof Order) {
return;
}
if(is_null($this->iPreviousOrderStatus)) {
$this->iPreviousOrderStatus = $oSubject->getStatus();
} else {
$this->iCurrentOrderStatus = $oSubject->getStatus();
if($this->iPreviousOrderStatus === Order::STATUS_SHIPPED && $this->iCurrentOrderStatus === Order::STATUS_DELIVERED) {
$sSubject = sprintf('Order number %d is shipped', $oSubject->getRef());
//mail('secratary@example.com', 'Order number %d is shipped', 'Text');
echo 'Mail sended to the secratary to help her remember to call our customer for a survey.';
}
}
}
}
$oOrder = new Order(26012011);
$oOrder->attach(new OrderStatusHandler());
$oOrder->updateStatus(Order::STATUS_DELIVERED);
$oOrder->delete();
?>
There are several problems with the implementation above. To most important disadvantage is that we have only one update method in our observer. In this update method we don’t know when and why we are getting notified, just that something happened. We should keep track of everything that happens in the subject. (Or use debug_backtrace… just joking, don’t even think about using it that way ever!).
Taking it a step further, events
Lets take a look at the next example, we will extend the Observer implementation with some an additional parameter for the eventname that occured.
Finishing up, optional data
iOrderRef = $iOrderRef;
// Get order information from the database or something else...
$this->iStatus = Order::STATUS_SHIPPED;
}
/**
* Attach an observer
*
* @param Observer_Interface $oObserver
* @return void
*/
public function attachObserver(Observer_Interface $oObserver)
{
$sHash = spl_object_hash($oObserver);
if (isset($this->aObservers[$sHash])) {
throw new Exception('Observer is already attached');
}
$this->aObservers[$sHash] = $oObserver;
}
/**
* Detach observer
*
* @param Observer_Interface $oObserver
* @return void
*/
public function detachObserver(Observer_Interface $oObserver)
{
$sHash = spl_object_hash($oObserver);
if (!isset($this->aObservers[$sHash])) {
throw new Exception('Observer not attached');
}
unset($this->aObservers[$sHash]);
}
/**
* Notify the attached observers
*
* @param string $sEvent, name of the event
* @param mixed $mData, optional data that is not directly available for the observers
* @return void
*/
public function notifyObserver($sEvent, $mData=null)
{
foreach ($this->aObservers as $oObserver) {
try {
$oObserver->update($this, $sEvent, $mData);
} catch(Exception $e) {
}
}
}
/**
* Add an order
*
* @param array $aOrder
* @return void
*/
public function add($aOrder = array())
{
$this->notifyObserver('onAdd');
}
/**
* Return the order reference number
*
* @return int
*/
public function getRef()
{
return $this->iOrderRef;
}
/**
* Return the current order status
*
* @return int
*/
public function getStatus()
{
return $this->iStatus;
}
/**
* Update the order status
*/
public function updateStatus($iStatus)
{
$this->notifyObserver('onBeforeUpdateStatus');
// ...
$this->iStatus = $iStatus;
// ...
$this->notifyObserver('onAfterUpdateStatus');
}
}
/**
* Order status handler, observer that sends an email to secretary
* if the status of an order changes from shipped to delivered, so the
* secratary can make a phone call to our customer to ask for his opinion about the service
*
* @package Shop
*/
class OrderStatusHandler implements Observer_Interface
{
protected $iPreviousOrderStatus;
protected $iCurrentOrderStatus;
/**
* Update, called by the observable object order
*
* @param Observable_Interface $oObservable
* @param string $sEvent
* @param mixed $mData
* @return void
*/
public function update(Observable_Interface $oObservable, $sEvent, $mData=null)
{
if(!$oObservable instanceof Order) {
return;
}
switch($sEvent) {
case 'onBeforeUpdateStatus':
$this->iPreviousOrderStatus = $oObservable->getStatus();
return;
case 'onAfterUpdateStatus':
$this->iCurrentOrderStatus = $oObservable->getStatus();
if($this->iPreviousOrderStatus === Order::STATUS_SHIPPED && $this->iCurrentOrderStatus === Order::STATUS_DELIVERED) {
$sSubject = sprintf('Order number %d is shipped', $oObservable->getRef());
//mail('secratary@example.com', 'Order number %d is shipped', 'Text');
echo 'Mail sended to the secratary to help her remember to call our customer for a survey.';
}
}
}
}
$oOrder = new Order(26012011);
$oOrder->attachObserver(new OrderStatusHandler());
$oOrder->updateStatus(Order::STATUS_DELIVERED);
$oOrder->add();
?>
Now we are able to take action on different events that occur.
Disadvantages
Although this implementation works quite well there are some drawbacks. One of those drawbacks is that we need to dispatch an event in our framework, if we don’t programmers can’t hook into our application. Triggering events everywhere give us a small performance penalty however I do think this way of working gives the programmers a nice way to hook into your application on those spots that you want them to hook in.
Just for the record
Notice that this code is just an example and can still use some improvements, for example: each observer is initialized even it will maybe never be notified, therefore I suggest to make use of lazy in some cases for loading the objects. There are other systems to hook into an application, more to follow!
фильмы онлайн без подписки [url=http://www.kinogo-13.top]http://www.kinogo-13.top[/url] .
kinogo_kuMl
17 Sep 25 at 4:00 am
Fantastic goods from you, man. I have understand your stuff previous to and you are just extremely fantastic.
I really like what you’ve acquired here, really like what you are saying and the
way in which you say it. You make it enjoyable and you still care for to keep
it wise. I can not wait to read much more from you.
This is actually a terrific website.
Live Draw Taiwan Tercepat
17 Sep 25 at 4:00 am
Прокат авто Краснодар
Аренда авто в Краснодаре
17 Sep 25 at 4:01 am
купить диплом о среднем техническом образовании [url=educ-ua5.ru]купить диплом о среднем техническом образовании[/url] .
Diplomi_xyKl
17 Sep 25 at 4:02 am
Эта статья — настоящая находка для тех, кто ищет безопасные и выгодные сайты покупки скинов для CS2 (CS:GO) в 2025 году. Переходи на статью: где можно купить скины кс Автор собрал десятку лучших проверенных платформ, подробно описал их особенности, преимущества, доступные способы оплаты и вывода средств, чтобы сделать ваш выбор максимально скрупулезным и простым.
Вместо бесконечных поисков по форумам, вы найдете ответы на все важные вопросы: где самые низкие комиссии, как получить бонусы, какие площадки позволяют быстро вывести деньги и что учитывать при покупке редких или дорогих предметов. Статья идеально подойдет игрокам, коллекционерам и тем, кто ищет надежные инструменты для безопасной торговли скинами.
Davidtet
17 Sep 25 at 4:03 am
купить диплом университета в киеве [url=http://www.educ-ua2.ru]купить диплом университета в киеве[/url] .
Diplomi_deOt
17 Sep 25 at 4:03 am
bs2best at, bs2web at и bs2 market: глубокий анализ технологий 2025 года
bs2web at
bs2best.at blacksprut marketplace Official
CharlesNarry
17 Sep 25 at 4:04 am
From beaches to golf courses: The world’s most unusual airport runways
[url=https://trip-skan.win]trip scan[/url]
When it comes to travel, wherever you are in the world, some things never change. McDonald’s is always McDonald’s. A hotel lobby is always a hotel lobby. An inflight safety demonstration is always a safety demonstration, and an airport runway is an airport runway: a long, clean-lined strip of asphalt free of all external interference; a sterile environment that could be anywhere on the planet.
Or maybe not. Because when it comes to airport runways, once the safety side is taken care of, in a few parts of the world, things get a little inventive. Maybe you’ll land on a manmade island in the middle of the sea. Maybe you’ll wave at golfers on the 18-hole course between the two runways. Or maybe you’ll hit the beach faster than expected — by stepping off the airplane onto the sand.
https://trip-skan.win
трипскан
From runways you can drive across to weird and wonderful airport locations, here are 12 of our favorite out-there runways.
Barra Airport, Scotland (BRR)
If nothing comes between you and your beach break, then Barra, in Scotland’s Outer Hebrides, is your kind of airport. This is the only place in the world where the runway is on the beach itself.
Just one flight route operates here: Loganair’s 140-mile connection with Glasgow, using 19-seater de Havilland Canada DHC-6 Twin Otter aircraft. Pilots heading to Barra — an island just eight miles long — must line up and touch down on Traigh Mhor, a wide bay in the north of the island (if Barra is shaped like a turtle, Traigh Mhor is its neck), landing straight onto the sand. Flights must be timed with the tides to allow as much space to land and take off as possible.
Passengers walk across the beach to the terminal on the other side of the dunes, then get a last bit of sand underfoot as they board the aircraft for the flight back to the mainland. With these conditions, it’s little wonder that flights are canceled with a fair amount of regularity — so you may want to build in extra time before planning onward connections.
But even a delayed return is worth it for avgeeks. On this tiny plane, passengers experience the flight in close proximity to the pilots — when CNN took a spin on the flight in 2019, they could even see the pilot’s GPS instruments from their seat.
Related article
A lead photo of various travel products that can help pass time in airports
CNN Underscored: Flight delayed? These 14 products will help you pass the time at the airport
Hong Kong International Airport (HKG)
In Hong Kong, the islet of Chek Lap Kok was massively extended to create an island big enough to house a major international airport.
In Hong Kong, the islet of Chek Lap Kok was massively extended to create an island big enough to house a major international airport. d3sign/Moment RF/Getty Images
For the busiest cargo airport in the world, you need space. Luckily, Hong Kong created an entire island for its airport which, when it opened, had the world’s largest passenger terminal, too. Built to replace its predecessor (a single runway in crowded Kowloon, which was notorious for its violent turns on take-off and landing), HKG sits over the original islet of Chek Lap Kok, which was quadrupled in size with reclaimed land to house the two-runway airport. President Bill Clinton was among the first foreigners to touch down after the airport opened in 1998.
Located next to Lantau Island, the airport has views for days — the sides of the terminals are largely glass, built to shatter (and therefore preserve the building) during potential typhoons. Even getting there is a treat — the 1.4-mile Tsing Ma bridge, which connects HKG to Ma Wan island, heading towards the city, debuted as the longest road-and-rail suspension bridge in the world.
Davidvum
17 Sep 25 at 4:05 am
купить аттестат за 11 классов в барнауле [url=https://www.arus-diplom25.ru]купить аттестат за 11 классов в барнауле[/url] .
Diplomi_mfot
17 Sep 25 at 4:06 am
What’s up, this weekend is fastidious for me, for the reason that this time i
am reading this fantastic educational post here at my residence.
This Article
17 Sep 25 at 4:06 am
Аренда авто Краснодар
Прокат авто Краснодар
17 Sep 25 at 4:09 am
диплом техникума купить в [url=http://educ-ua7.ru/]http://educ-ua7.ru/[/url] .
Diplomi_ulEr
17 Sep 25 at 4:09 am
Disney made a smart choice’
Despite the comparisons, Abu Dhabi isn’t positioning itself as a direct rival to Orlando — it’s aiming to be something more. The emirate sees its theme parks as part of a bigger portfolio of attractions, alongside cultural landmarks, luxury hotels, pristine beaches, and desert adventures.
[url=https://trip-skan.win]trip scan[/url]
A 15-minute drive from Yas Island, Saadiyat Island is home to the Louvre Abu Dhabi, a franchised outpost of the famous Paris art museum, which welcomed 1.4 million visitors last year, 84% from abroad. The Guggenheim Abu Dhabi and Zayed National Museum are both under construction, adding to a cultural district that will be one of the region’s most concentrated hubs of art and heritage.
“Abu Dhabi’s unique appeal lies in the diversity of our tourism offering,” Al Geziry added. “For thrill-seekers, we have record-breaking roller coasters and dune bashing in the desert. For culture lovers, historic sites like Al Ain Oasis and institutions like the Saadiyat museums. And for luxury travelers, world-class dining, private island resorts, and high-end shopping.
“Where else can you start your day under the Louvre’s iconic rain-of-light dome and end it in the immersive, story-driven worlds of Warner Bros. World or Ferrari World?”
https://trip-skan.win
tripskan
Still, not everyone is convinced that Disney’s expansion into the Middle East is a sure bet.
“The region has seen its share of false starts,” says Dennis Speigel, founder of the International Theme Park Services consultancy, comparing it to neighboring Dubai’s patchy record with theme park expansion ambitions in the mid-2010s. “Several of them struggled for profitability in their first decade.”
Related article
Saadiyat Cultural District in Abu Dhabi is set to become one of the world’s preeminent arts and culture hubs, with one of the highest concentrations of cultural institutions globally. But the area isn’t just for art connoisseurs. Explore what to do in the new district, from iconic museums to luxurious beach days to decadent dining options.
You can walk between the Louvre and the Guggenheim in this new art district
Spiegel believes Abu Dhabi is different. “Disney made a smart choice. The infrastructure, safety, and existing leisure developments create an ideal entry point,” he told CNN earlier this year. “It’s a much more controlled and calculated move.”
Under its Tourism Strategy 2030, Abu Dhabi aims to grow annual visitors from 24 million in 2023 to more than 39 million by the end of the decade. With Disneyland as a centerpiece, those targets may well be surpassed. The city’s population has already grown from 2.7 million in 2014 to more than 4.1 million today, a reflection of its rising profile as a regional hub.
Yas Island alone has been transformed in the space of a decade from a largely undeveloped stretch of sand to a self-contained resort destination, complete with golf courses, marinas, a mall, more than 160 restaurants, and a cluster of high-end hotels.
Orlando’s head start remains formidable — it still offers multiple Disney and Universal parks, has decades of brand loyalty, and an infrastructure built to handle tens of millions of tourists annually.
But Abu Dhabi is catching up fast. Its combination of frictionless travel, year-round comfort, cutting-edge attractions, and a cultural scene that adds depth to the experience gives Abu Dhabi its own unique selling point, potentially offering a model for the next generation of theme park capital.
Jaredjodia
17 Sep 25 at 4:11 am
First off I would like to say awesome blog! I had a quick question which I’d like to ask if you
do not mind. I was curious to know how you center yourself and clear your thoughts prior
to writing. I have had trouble clearing my thoughts in getting my thoughts
out. I truly do enjoy writing however it just seems like the first 10 to 15 minutes tend to be lost
just trying to figure out how to begin. Any suggestions or
tips? Appreciate it!
بازار کار رشته مدیریت دولتی نی نی سایت
17 Sep 25 at 4:12 am
Купить мефедрон, гашиш, шишки, альфа-пвп
Трек получил! Данный магазин действительно выполняет свои обязанности перед покупателями.Просто при личном разговоре с продавцом можно действительно понять что работы у них действительно много и на это уходит время,просто стоит проявить терпение.Считаю как получу товар,его качество останется таким же наивысшим,как сама работа магазина
KennethImire
17 Sep 25 at 4:12 am
согласование проекта перепланировки нежилого помещения [url=http://www.pereplanirovka-nezhilogo-pomeshcheniya.ru]http://www.pereplanirovka-nezhilogo-pomeshcheniya.ru[/url] .
pereplanirovka nejilogo pomesheniya_ueKn
17 Sep 25 at 4:15 am
I think the admin of this site is genuinely working hard for his web page, for the reason that
here every information is quality based stuff.
как правильно питаться +чтобы похудеть +в домашних
17 Sep 25 at 4:15 am
mostbet kg скачать [url=https://mostbet12015.ru]https://mostbet12015.ru[/url]
mostbet_vsSr
17 Sep 25 at 4:16 am
аниме смотреть онлайн [url=http://kinogo-13.top]аниме смотреть онлайн[/url] .
kinogo_svMl
17 Sep 25 at 4:16 am
Hi! Do you know if they make any plugins to assist with Search Engine
Optimization? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good success.
If you know of any please share. Many thanks!
rent a rv
17 Sep 25 at 4:17 am
Caishens Gift demo
Donaldbow
17 Sep 25 at 4:18 am
Tourists fined and banned from Venice for swimming in canal
[url=https://trip-scan.co]трипскан сайт[/url]
A couple from the United Kingdom had to cut their vacation in Venice short after being caught swimming in the Grand Canal.
The 35-year-old British man and his 25-year-old Romanian girlfriend were forced to return to their home in the UK on Thursday, the same day they arrived in the city, after gondoliers reported them to local police for taking a dip in the canal.
The pair were fined €450 ($529) each and expelled from Venice for 48 hours, marking the 1,136th such sanction to be handed down to badly behaved tourists in the city so far this year, according to the Venice City Police.
The unnamed couple took the plunge near the Accademia bridge near St. Mark’s Square and gondoliers at the Rio San Vidal kiosk immediately called authorities, who removed them from the water.
“I thank the gondoliers for their cooperation and timely reporting,” said Venice Security Councillor Elisabetta Pesce in a statement published by city authorities on Friday.
https://trip-scan.co
трипскан
“Venice must be defended from those who disrespect it: protecting the city means ensuring decorum for residents and visitors who experience it with civility.”
Swimming in the Venice canals is prohibited for a variety of reasons, including the intense boat traffic and the cleanliness — or lack thereof — of the water, according to the city’s tourism ministry.
Of the 1,136 orders of expulsion from the city so far this year, about 10 were for swimming.
Related article
Tourists take photographs on the Rialto Bridge in Venice, Italy, on Saturday, April 8, 2023. Italy’s upcoming budget outlook will probably incorporate a higher growth forecast for 2023 followed by a worsened outlook for subsequent years, according to people familiar with the matter. Photographer: Andrea Merola/Bloomberg via Getty Images
Rising waters and overtourism are killing Venice. Now the fight is on to save its soul
“Since the beginning of the year, we have issued a total of 1,136 orders of expulsion for incidents of degradation and uncivilized behavior,” Venice local police deputy commander Gianni Franzoi said in a statement shared with CNN.
Poor visitor behavior is one of the worst byproducts of overtourism, Franzoi said, and incidents are on the rise.
In July 2024, an Australian man was fined and expelled for diving off the Rialto Bridge after his friends posted about it on social media.
The year before, two French tourists were fined and expelled for skinny dipping in the canal under the moonlight. In August 2022, a German man was fined and expelled for surfing in the canal.
Related article
Aerial view of the plagued ghost island of Poveglia in the Venetian lagoon
‘Haunted’ Venice island to become a locals-only haven where tourists are banned
Venice’s authorities have been trying to balance the need for visitor income with residents’ demands for a city that works for them.
Day trippers now pay a €10 entrance fee on summer weekends and during busy periods throughout the year.
The city has also banned tour groups of more than 25 people, loudspeakers and megaphones, and even standing on narrow streets to listen to tour guides.
“It was necessary to establish a system of penalties that would effectively deter potential violations,” Pesce said when the ordinance was passed in February.
“Our goal remains to combat all forms of irregularities related to overtourism in the historic lagoon city center,” she added.
“The new rules for groups accompanied by guides encourage a more sustainable form of tourism, while also ensuring greater protection and safety in the city and better balancing the needs of Venice residents and visitors.”
Donnellbut
17 Sep 25 at 4:18 am
сколько стоит купить аттестат 11 класса [url=www.educ-ua17.ru]сколько стоит купить аттестат 11 класса[/url] .
Diplomi_peSl
17 Sep 25 at 4:20 am
Hi, yup this piece of writing is actually pleasant and I have learned lot of things from it about blogging.
thanks.
вход в Кент казино
17 Sep 25 at 4:20 am
From beaches to golf courses: The world’s most unusual airport runways
[url=https://trip-skan.win]трипскан сайт[/url]
When it comes to travel, wherever you are in the world, some things never change. McDonald’s is always McDonald’s. A hotel lobby is always a hotel lobby. An inflight safety demonstration is always a safety demonstration, and an airport runway is an airport runway: a long, clean-lined strip of asphalt free of all external interference; a sterile environment that could be anywhere on the planet.
Or maybe not. Because when it comes to airport runways, once the safety side is taken care of, in a few parts of the world, things get a little inventive. Maybe you’ll land on a manmade island in the middle of the sea. Maybe you’ll wave at golfers on the 18-hole course between the two runways. Or maybe you’ll hit the beach faster than expected — by stepping off the airplane onto the sand.
https://trip-skan.win
trip scan
From runways you can drive across to weird and wonderful airport locations, here are 12 of our favorite out-there runways.
Barra Airport, Scotland (BRR)
If nothing comes between you and your beach break, then Barra, in Scotland’s Outer Hebrides, is your kind of airport. This is the only place in the world where the runway is on the beach itself.
Just one flight route operates here: Loganair’s 140-mile connection with Glasgow, using 19-seater de Havilland Canada DHC-6 Twin Otter aircraft. Pilots heading to Barra — an island just eight miles long — must line up and touch down on Traigh Mhor, a wide bay in the north of the island (if Barra is shaped like a turtle, Traigh Mhor is its neck), landing straight onto the sand. Flights must be timed with the tides to allow as much space to land and take off as possible.
Passengers walk across the beach to the terminal on the other side of the dunes, then get a last bit of sand underfoot as they board the aircraft for the flight back to the mainland. With these conditions, it’s little wonder that flights are canceled with a fair amount of regularity — so you may want to build in extra time before planning onward connections.
But even a delayed return is worth it for avgeeks. On this tiny plane, passengers experience the flight in close proximity to the pilots — when CNN took a spin on the flight in 2019, they could even see the pilot’s GPS instruments from their seat.
Related article
A lead photo of various travel products that can help pass time in airports
CNN Underscored: Flight delayed? These 14 products will help you pass the time at the airport
Hong Kong International Airport (HKG)
In Hong Kong, the islet of Chek Lap Kok was massively extended to create an island big enough to house a major international airport.
In Hong Kong, the islet of Chek Lap Kok was massively extended to create an island big enough to house a major international airport. d3sign/Moment RF/Getty Images
For the busiest cargo airport in the world, you need space. Luckily, Hong Kong created an entire island for its airport which, when it opened, had the world’s largest passenger terminal, too. Built to replace its predecessor (a single runway in crowded Kowloon, which was notorious for its violent turns on take-off and landing), HKG sits over the original islet of Chek Lap Kok, which was quadrupled in size with reclaimed land to house the two-runway airport. President Bill Clinton was among the first foreigners to touch down after the airport opened in 1998.
Located next to Lantau Island, the airport has views for days — the sides of the terminals are largely glass, built to shatter (and therefore preserve the building) during potential typhoons. Even getting there is a treat — the 1.4-mile Tsing Ma bridge, which connects HKG to Ma Wan island, heading towards the city, debuted as the longest road-and-rail suspension bridge in the world.
RafaelVoins
17 Sep 25 at 4:21 am
купить диплом с занесением в реестр чита [url=https://bestnet.ru/support/forum/index.php?PAGE_NAME=profile_view&UID=147372/]купить диплом с занесением в реестр чита[/url] .
Zakazat diplom ob obrazovanii!_yekt
17 Sep 25 at 4:21 am
сериалы онлайн [url=https://kinogo-13.top/]https://kinogo-13.top/[/url] .
kinogo_agMl
17 Sep 25 at 4:21 am
This is really interesting, You are a very skilled blogger.
I have joined your feed and look forward to seeking
more of your wonderful post. Also, I’ve shared your site in my social networks!
คาสิโน
17 Sep 25 at 4:21 am
согласование перепланировки нежилого здания [url=https://www.pereplanirovka-nezhilogo-pomeshcheniya.ru]https://www.pereplanirovka-nezhilogo-pomeshcheniya.ru[/url] .
pereplanirovka nejilogo pomesheniya_vzKn
17 Sep 25 at 4:22 am
https://potenzapothekede.com/# schnelle lieferung tadalafil tabletten
EnriqueVox
17 Sep 25 at 4:22 am
Disney made a smart choice’
Despite the comparisons, Abu Dhabi isn’t positioning itself as a direct rival to Orlando — it’s aiming to be something more. The emirate sees its theme parks as part of a bigger portfolio of attractions, alongside cultural landmarks, luxury hotels, pristine beaches, and desert adventures.
[url=https://trip-skan.win]трипскан вход[/url]
A 15-minute drive from Yas Island, Saadiyat Island is home to the Louvre Abu Dhabi, a franchised outpost of the famous Paris art museum, which welcomed 1.4 million visitors last year, 84% from abroad. The Guggenheim Abu Dhabi and Zayed National Museum are both under construction, adding to a cultural district that will be one of the region’s most concentrated hubs of art and heritage.
“Abu Dhabi’s unique appeal lies in the diversity of our tourism offering,” Al Geziry added. “For thrill-seekers, we have record-breaking roller coasters and dune bashing in the desert. For culture lovers, historic sites like Al Ain Oasis and institutions like the Saadiyat museums. And for luxury travelers, world-class dining, private island resorts, and high-end shopping.
“Where else can you start your day under the Louvre’s iconic rain-of-light dome and end it in the immersive, story-driven worlds of Warner Bros. World or Ferrari World?”
https://trip-skan.win
tripscan top
Still, not everyone is convinced that Disney’s expansion into the Middle East is a sure bet.
“The region has seen its share of false starts,” says Dennis Speigel, founder of the International Theme Park Services consultancy, comparing it to neighboring Dubai’s patchy record with theme park expansion ambitions in the mid-2010s. “Several of them struggled for profitability in their first decade.”
Related article
Saadiyat Cultural District in Abu Dhabi is set to become one of the world’s preeminent arts and culture hubs, with one of the highest concentrations of cultural institutions globally. But the area isn’t just for art connoisseurs. Explore what to do in the new district, from iconic museums to luxurious beach days to decadent dining options.
You can walk between the Louvre and the Guggenheim in this new art district
Spiegel believes Abu Dhabi is different. “Disney made a smart choice. The infrastructure, safety, and existing leisure developments create an ideal entry point,” he told CNN earlier this year. “It’s a much more controlled and calculated move.”
Under its Tourism Strategy 2030, Abu Dhabi aims to grow annual visitors from 24 million in 2023 to more than 39 million by the end of the decade. With Disneyland as a centerpiece, those targets may well be surpassed. The city’s population has already grown from 2.7 million in 2014 to more than 4.1 million today, a reflection of its rising profile as a regional hub.
Yas Island alone has been transformed in the space of a decade from a largely undeveloped stretch of sand to a self-contained resort destination, complete with golf courses, marinas, a mall, more than 160 restaurants, and a cluster of high-end hotels.
Orlando’s head start remains formidable — it still offers multiple Disney and Universal parks, has decades of brand loyalty, and an infrastructure built to handle tens of millions of tourists annually.
But Abu Dhabi is catching up fast. Its combination of frictionless travel, year-round comfort, cutting-edge attractions, and a cultural scene that adds depth to the experience gives Abu Dhabi its own unique selling point, potentially offering a model for the next generation of theme park capital.
Stevengaupe
17 Sep 25 at 4:24 am
Oi oi, Singapore moms ɑnd dads, mathematics remаins probably the extremely crucial primary topic, promoting creativity tһrough challenge-tackling for innovative professions.
National Junior College,аѕ Singapore’s pioneering junior college, provides exceptional chances fߋr intellectual annd management development іn a
historical setting. Itѕ boarding program and research
facilities foster seⅼf-reliance ɑnd development amоng diverse trainees.
Programs іn arts, sciences, аnd humanities, including electives, encourage deep exploration annd excellence.
Worldwide collaborations аnd exchanges expand horizons ɑnd construct networks.
Alumni lead іn numerous fields, reflecting tһe college’s long-lasting influence on nation-building.
Millennia Institute sticks out wіth its unique tһree-yeaг pre-university pathway
resulting in tһe GCE Ꭺ-Level examinations, supplying flexible ɑnd in-depth
study choices in commerce, arts, аnd sciences tailored
tο accommodate ɑ diverse series оf learners аnd their distinct aspirations.
Aѕ a centralized institute, it offers customized assistance ɑnd support systems, including devoted
academic advisors ɑnd counseling services,
to guarantee eveгy trainee’s holistic advancement and academic
success іn a inspiring environment. The institute’ѕ cutting edge centers, sսch
aѕ digital learning hubs, multimedia resource centers, аnd collective offices, develop ɑn interеsting platform for ingenious mentor techniques ɑnd hands-on jobs that bridge theory ᴡith practical application. Ꭲhrough strong
market collaborations, students access real-ԝorld experiences liкe internships,workshops ԝith professionals, and
scholarship chances tһɑt improve theiг employability and profession preparedness.
Alumni fгom Millennia Institute consistently achieve success іn college and expert arenas,
ѕhowing the institution’s unwavering commitment tо promoting lifelong knowing, flexibility, аnd individual empowerment.
Folks, fearful օf losing mode activated lah, solid primary mathematics гesults fօr superior STEM understanding ɑѕ well as engineering goals.
Goodness, reցardless thoսgh establishment іѕ fancy,
math serves as the mаke-ⲟr-break topic іn cultivates poise іn figures.
Don’t mess ɑround lah, link a excellent Junior College ᴡith math proficiency fߋr assure һigh
A Levels scores ɑs wеll aѕ seamless transitions.
Parents, fear tһe disparity hor, maths groundwork іs essential in Junior College in graspin informatіon, vital ᴡithin modern digital market.
Goodness, no matter ѡhether establishment іs higһ-end, maths serves аs the make-or-break topic f᧐r cultivates poise іn numbers.
Kiasu competition fosters innovation іn Math ρroblem-solving.
Listen ᥙp, Singapore parents, maths is perhapѕ the highly essential primary topic,fosteringinnovation іn challenge-tackling in creative professions.
Αlso visit my web pаge … MI
MI
17 Sep 25 at 4:26 am
купить диплом специалиста дешево [url=https://educ-ua2.ru/]купить диплом специалиста дешево[/url] .
Diplomi_uvOt
17 Sep 25 at 4:28 am
From beaches to golf courses: The world’s most unusual airport runways
[url=https://trip-skan.win]трипскан[/url]
When it comes to travel, wherever you are in the world, some things never change. McDonald’s is always McDonald’s. A hotel lobby is always a hotel lobby. An inflight safety demonstration is always a safety demonstration, and an airport runway is an airport runway: a long, clean-lined strip of asphalt free of all external interference; a sterile environment that could be anywhere on the planet.
Or maybe not. Because when it comes to airport runways, once the safety side is taken care of, in a few parts of the world, things get a little inventive. Maybe you’ll land on a manmade island in the middle of the sea. Maybe you’ll wave at golfers on the 18-hole course between the two runways. Or maybe you’ll hit the beach faster than expected — by stepping off the airplane onto the sand.
https://trip-skan.win
trip scan
From runways you can drive across to weird and wonderful airport locations, here are 12 of our favorite out-there runways.
Barra Airport, Scotland (BRR)
If nothing comes between you and your beach break, then Barra, in Scotland’s Outer Hebrides, is your kind of airport. This is the only place in the world where the runway is on the beach itself.
Just one flight route operates here: Loganair’s 140-mile connection with Glasgow, using 19-seater de Havilland Canada DHC-6 Twin Otter aircraft. Pilots heading to Barra — an island just eight miles long — must line up and touch down on Traigh Mhor, a wide bay in the north of the island (if Barra is shaped like a turtle, Traigh Mhor is its neck), landing straight onto the sand. Flights must be timed with the tides to allow as much space to land and take off as possible.
Passengers walk across the beach to the terminal on the other side of the dunes, then get a last bit of sand underfoot as they board the aircraft for the flight back to the mainland. With these conditions, it’s little wonder that flights are canceled with a fair amount of regularity — so you may want to build in extra time before planning onward connections.
But even a delayed return is worth it for avgeeks. On this tiny plane, passengers experience the flight in close proximity to the pilots — when CNN took a spin on the flight in 2019, they could even see the pilot’s GPS instruments from their seat.
Related article
A lead photo of various travel products that can help pass time in airports
CNN Underscored: Flight delayed? These 14 products will help you pass the time at the airport
Hong Kong International Airport (HKG)
In Hong Kong, the islet of Chek Lap Kok was massively extended to create an island big enough to house a major international airport.
In Hong Kong, the islet of Chek Lap Kok was massively extended to create an island big enough to house a major international airport. d3sign/Moment RF/Getty Images
For the busiest cargo airport in the world, you need space. Luckily, Hong Kong created an entire island for its airport which, when it opened, had the world’s largest passenger terminal, too. Built to replace its predecessor (a single runway in crowded Kowloon, which was notorious for its violent turns on take-off and landing), HKG sits over the original islet of Chek Lap Kok, which was quadrupled in size with reclaimed land to house the two-runway airport. President Bill Clinton was among the first foreigners to touch down after the airport opened in 1998.
Located next to Lantau Island, the airport has views for days — the sides of the terminals are largely glass, built to shatter (and therefore preserve the building) during potential typhoons. Even getting there is a treat — the 1.4-mile Tsing Ma bridge, which connects HKG to Ma Wan island, heading towards the city, debuted as the longest road-and-rail suspension bridge in the world.
Richardjem
17 Sep 25 at 4:28 am
порядок согласования перепланировки нежилого помещения [url=pereplanirovka-nezhilogo-pomeshcheniya.ru]pereplanirovka-nezhilogo-pomeshcheniya.ru[/url] .
pereplanirovka nejilogo pomesheniya_unKn
17 Sep 25 at 4:28 am
It’s going to be finish of mine day, except before finish I am reading this wonderful post to increase my know-how.
how to make antrax
17 Sep 25 at 4:29 am
1win вывод [url=1win12014.ru]1win12014.ru[/url]
1win_bdOl
17 Sep 25 at 4:30 am
москва купить диплом о высшем образовании с занесением в реестр [url=www.whdf.ru/forum/user/105708]москва купить диплом о высшем образовании с занесением в реестр[/url] .
Priobresti diplom yniversiteta!_kckt
17 Sep 25 at 4:30 am
Публикация предлагает уникальную подборку информации, которая будет интересна как специалистам, так и широкому кругу читателей. Здесь вы найдете ответы на часто задаваемые вопросы и полезные инсайты для дальнейшего применения.
Получить профессиональную консультацию – https://gothamdoughnuts.com/post/top-milkshake-destination-in-melbourne-indulge-in-heavenly-creations
ThomasHer
17 Sep 25 at 4:32 am
смотреть боевики [url=kinogo-13.top]kinogo-13.top[/url] .
kinogo_liMl
17 Sep 25 at 4:32 am
купить диплом о техническом образовании [url=https://educ-ua6.ru/]купить диплом о техническом образовании[/url] .
Diplomi_rgMl
17 Sep 25 at 4:33 am
купить аттестат за 11 класс в киеве [url=educ-ua17.ru]купить аттестат за 11 класс в киеве[/url] .
Diplomi_blSl
17 Sep 25 at 4:34 am
Don Mueang International Airport, Thailand (DMK)
[url=https://trip-skan.win]tripscan[/url]
Are you an avgeek with a mean handicap? Then it’s time to tee off in Bangkok, where Don Mueang International Airport has an 18-hole golf course between its two runways. If you’re nervous from a safety point of view, don’t be — players at the Kantarat course must go through airport-style security before they hit the grass. Oh, you meant safety on the course? Just beware of those flying balls, because there are no barriers between the course and the runways. Players are, at least, shown a red light when a plane is coming in to land so don’t get too distracted by the game.
https://trip-skan.win
trip scan
Although Suvarnabhumi (BKK) is Bangkok’s main airport these days — it opened in 2006 —Don Mueang, which started out as a Royal Thai Air Force base in 1914, remains Bangkok’s budget airline hub, with brands including Thai Air Asia and Thai Lion Air using it as their base. Although you’re more likely to see narrowbodies these days, you may just get lucky — in 2022, an Emirates A380 made an emergency landing here. Imagine the views from the course that day.
Related article
Sporty airport outfit being worn by writer
CNN Underscored: Flying sucks. Make it better with these comfy airport outfits for women
Sumburgh Airport, Scotland (LSI)
The road south from Lerwick cuts across the runway of Sumburgh Airport on Shetland.
The road south from Lerwick cuts across the runway of Sumburgh Airport on Shetland. Alan Morris/iStock Editorial/Getty Images
Planning a trip to Jarlshof, the extraordinarily well-preserved Bronze Age settlement towards the southern tip of Shetland? You may need to build in some extra time. The ancient and Viking-era ruins, called one of the UK’s greatest archaeological sites, sit just beyond one of the runways of Sumburgh, Shetland’s main airport — and reaching them means driving, cycling or walking across the runway itself.
There’s only one road heading due south from the capital, Lerwick; and while it ducks around most of the airport’s perimeter, skirting the two runways, the road cuts directly across the western end of one of them. A staff member occupies a roadside hut, and before take-offs and landings, comes out to lower a barrier across the road. Once the plane is where it needs to be, up come the barriers and waiting drivers get a friendly thumbs up.
Amata Kabua International Airport, Marshall Islands (MAJ)
Fly into Majuro and you’ll skim across the Pacific and land on the runway that’s just about as wide as the sandbar-like island itself.
Fly into Majuro and you’ll skim across the Pacific and land on the runway that’s just about as wide as the sandbar-like island itself. mtcurado/iStockphoto/Getty Images
Imagine flying into Majuro, the capital of the Marshall Islands in Micronesia. You’re descending down, down, and further down towards the Pacific, no land in sight. Then you’re suddenly above a pencil-thin atoll — can you really be about to land here? Yes you are, with cars racing past the runway no less, matching you for speed.
Majuro’s Amata Kabua International Airport gives a whole new meaning to the phrase “water landing”. Its single runway, just shy of 8,000ft, is a slim strip of asphalt over the sandbar that’s barely any wider than the atoll itself — and the island is so remote that when the runway was resurfaced, materials had to be transported from the Philippines, Hong Kong and Korea, according to the constructors. “Lagoon Road” — the 30-mile road that runs from top to toe on Majuro — skims alongside the runway.
Don’t think about pulling over, though — there’s only sand and sea on one side, and that runway the other.
Related article
Barra Airport, Scotland
At Scotland’s beach airport, the runway disappears at high tide
KeithCepay
17 Sep 25 at 4:34 am
Близкий человек в запое? Не ждите ухудшения. Обратитесь в клинику — здесь проведут профессиональный вывод из запоя с последующим восстановлением организма.
Получить больше информации – [url=https://vyvod-iz-zapoya-krasnodar17.ru/]нарколог на дом вывод из запоя в городе[/url]
Edwinupdat
17 Sep 25 at 4:34 am
bs2best at, bs2web at и bs2 market: глубокий анализ технологий 2025 года
bs2best
bs2best.at blacksprut marketplace Official
CharlesNarry
17 Sep 25 at 4:34 am
bs2best at, bs2web at и bs2 market: глубокий анализ технологий 2025 года
bs2best at
bs2best.at blacksprut marketplace Official
CharlesNarry
17 Sep 25 at 4:35 am
online apotheke rezept: rezeptfreie arzneimittel online kaufen – internet apotheke
Donaldanype
17 Sep 25 at 4:36 am
Эта статья — настоящая находка для тех, кто ищет безопасные и выгодные сайты покупки скинов для CS2 (CS:GO) в 2025 году. Переходи на статью: статья Автор собрал десятку лучших проверенных платформ, подробно описал их особенности, преимущества, доступные способы оплаты и вывода средств, чтобы сделать ваш выбор максимально скрупулезным и простым.
Вместо бесконечных поисков по форумам, вы найдете ответы на все важные вопросы: где самые низкие комиссии, как получить бонусы, какие площадки позволяют быстро вывести деньги и что учитывать при покупке редких или дорогих предметов. Статья идеально подойдет игрокам, коллекционерам и тем, кто ищет надежные инструменты для безопасной торговли скинами.
Davidtet
17 Sep 25 at 4:36 am
Эта статья — настоящая находка для тех, кто ищет безопасные и выгодные сайты покупки скинов для CS2 (CS:GO) в 2025 году. Переходи на статью: купить скины кс го 2 Автор собрал десятку лучших проверенных платформ, подробно описал их особенности, преимущества, доступные способы оплаты и вывода средств, чтобы сделать ваш выбор максимально скрупулезным и простым.
Вместо бесконечных поисков по форумам, вы найдете ответы на все важные вопросы: где самые низкие комиссии, как получить бонусы, какие площадки позволяют быстро вывести деньги и что учитывать при покупке редких или дорогих предметов. Статья идеально подойдет игрокам, коллекционерам и тем, кто ищет надежные инструменты для безопасной торговли скинами.
Davidtet
17 Sep 25 at 4:39 am
РўРћРџ ПРОДАЖР24/7 – РџР РОБРЕСТРMEF ALFA BOSHK1
Все пришло. всё на высоте. на данный момент более сказать немогу.
KennethImire
17 Sep 25 at 4:39 am