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!
Надёжная помощь в борьбе с зависимостью: наркологическая клиника в Хабаровске — клиника «Призма» предлагает индивидуальные программы лечения, включая детоксикацию, психологическую поддержку и реабилитацию, с возможностью выезда врача на дом. Узнайте больше: la-woman.ru Выяснить больше – http://kremlevsk.kamrbb.ru/?x=read&razdel=5&tema=632
Jameslok
17 Sep 25 at 5:24 am
I constantly spent my half an hour to read this blog’s articles every day
along with a mug of coffee.
Granit Nexbit
17 Sep 25 at 5:25 am
bs2best at, bs2web at и bs2 market: глубокий анализ технологий 2025 года
blsp at
bs2best.at blacksprut marketplace Official
CharlesNarry
17 Sep 25 at 5:26 am
согласование перепланировки нежилого здания [url=http://pereplanirovka-nezhilogo-pomeshcheniya.ru/]http://pereplanirovka-nezhilogo-pomeshcheniya.ru/[/url] .
pereplanirovka nejilogo pomesheniya_hqKn
17 Sep 25 at 5:26 am
смотреть мультфильмы онлайн бесплатно [url=http://www.kinogo-11.top]http://www.kinogo-11.top[/url] .
kinogo_fmMa
17 Sep 25 at 5:28 am
кто купил диплом с занесением в реестр [url=https://www.educ-ua13.ru]кто купил диплом с занесением в реестр[/url] .
Diplomi_wypn
17 Sep 25 at 5:28 am
диплом с реестром купить [url=https://arus-diplom34.ru]диплом с реестром купить[/url] .
Diplomi_tfer
17 Sep 25 at 5:28 am
купить диплом для техникума цена [url=educ-ua6.ru]купить диплом для техникума цена[/url] .
Diplomi_hiMl
17 Sep 25 at 5:28 am
согласование перепланировки нежилого помещения в москве [url=http://www.pereplanirovka-nezhilogo-pomeshcheniya.ru]http://www.pereplanirovka-nezhilogo-pomeshcheniya.ru[/url] .
pereplanirovka nejilogo pomesheniya_uiKn
17 Sep 25 at 5:29 am
Мы предлагаем документы университетов, расположенных в любом регионе Российской Федерации. Приобрести диплом университета:
[url=http://aboutallfinance.ru/kupit-diplom-dlya-rezyume/]купить аттестат за 11 классов[/url]
Diplomi_niPn
17 Sep 25 at 5:30 am
best online casinos for Buffalo Coin Hold The Spin
Willietat
17 Sep 25 at 5:31 am
купить диплом зарегистрированный в реестре [url=https://saumalkol.com/forum/разное-1/13459-купить-диплом-колледжа.html/]купить диплом зарегистрированный в реестре[/url] .
Zakazat diplom o visshem obrazovanii!_xmkt
17 Sep 25 at 5:33 am
Приобрести (MEF) MEFEDRON SHISHK1 MSK-SPB | Отзывы, Покупки, Гарантии
тут мы, СПСР чет лажает, медленно заказы регистрирует в базу
KennethImire
17 Sep 25 at 5:34 am
перепланировка в нежилом здании [url=https://pereplanirovka-nezhilogo-pomeshcheniya1.ru/]перепланировка в нежилом здании[/url] .
pereplanirovka nejilogo pomesheniya_atsi
17 Sep 25 at 5:34 am
В эпоху цифрового маркетинга, когда конкуренция за топовые позиции в поисковиках накаляется, вечные ссылки становятся настоящим спасением для владельцев сайтов, стремящихся повысить видимость и увеличить продажи. Эти устойчивые ссылки, размещенные на трастовых ресурсах с высоким ИКС, не просто наращивают ссылочную массу, но и улучшают позиции в Яндексе и Google, привлекая органический трафик без риска санкций. Представьте: ваш сайт взлетает в топ благодаря профессиональному аудиту на ошибки, статейным ссылкам с форумов или социальным сигналам, которые усиливают авторитет домена по метрикам Ahrefs. А на платформе https://seobomba.ru/shop собраны проверенные тарифы от 2400 рублей, включая премиум-опции для комплексного продвижения, без поддержки сомнительных тем вроде адалта или казино — только надежные инструменты для бизнеса. Эксперты подтверждают: такие стратегии повышают конверсию до 30%, делая инвестиции в SEO выгодными и долгосрочными, а ваш проект — заметным в океане интернета.
jihufllbesse
17 Sep 25 at 5:35 am
как купить легальный диплом [url=arus-diplom33.ru]arus-diplom33.ru[/url] .
Diplomi_yvSa
17 Sep 25 at 5:35 am
купить аттестат о среднем [url=https://www.educ-ua2.ru]купить аттестат о среднем[/url] .
Diplomi_hiOt
17 Sep 25 at 5:38 am
Oh my goodness! Impressive article dude! Thank you so much, However I am experiencing troubles with your RSS.
I don’t know the reason why I can’t subscribe to it.
Is there anybody getting identical RSS issues?
Anyone that knows the answer can you kindly respond?
Thanx!!
Check this out
17 Sep 25 at 5:40 am
согласование перепланировки нежилого помещения в москве [url=http://pereplanirovka-nezhilogo-pomeshcheniya.ru]http://pereplanirovka-nezhilogo-pomeshcheniya.ru[/url] .
pereplanirovka nejilogo pomesheniya_meKn
17 Sep 25 at 5:40 am
Drugs information leaflet. Brand names.
can i purchase generic aldactone tablets
Best information about pills. Read now.
can i purchase generic aldactone tablets
17 Sep 25 at 5:41 am
Мы можем предложить документы ВУЗов, расположенных в любом регионе Российской Федерации. Купить диплом о высшем образовании:
[url=http://wiki.mikui.net/wiki/Купить_Аттестат./]купить аттестаты за 11 класс курган[/url]
Diplomi_wkPn
17 Sep 25 at 5:41 am
перепланировка нежилого помещения в нежилом здании законодательство [url=https://www.pereplanirovka-nezhilogo-pomeshcheniya1.ru]https://www.pereplanirovka-nezhilogo-pomeshcheniya1.ru[/url] .
pereplanirovka nejilogo pomesheniya_uasi
17 Sep 25 at 5:41 am
Wow, mathematics serves ɑs the groundwork block for primary education, aiding kids іn dimensional analysis fߋr architecture paths.
Օh dear, minus robust matth dսring Junior College, regardless leading institution youngsters mɑү struggle іn neҳt-level calculations, tһerefore develop tһat now
leh.
Yishun Innova Junior College combines strengths fоr digital literacy
аnd leadership excellence. Upgraded centers promote development аnd ⅼong-lasting learning.
Varied programs іn media ɑnd languages fostr imagination аnd citizenship.
Neighborhood engagements develop empathy ɑnd skills. Students emerge as
confident, tech-savvy leaders ready fоr tһе digital age.
Nanyang Junior College masters promoting bilingual efficiency
аnd cultural excellence, skillfully weaving tοgether rich Chinese
heritage wіth contemporary worldwide education tⲟ shape positive,
culturally agile residents ᴡho are poised to lead in multicultural contexts.
Thе college’s advanced centers, including specialized STEM labs,
carrying ߋut arts theaters, ɑnd language immersion centers,
support robust programs іn science, innovation, engineering,
mathematics, arts, ɑnd humanities that motivate development, crucial thinking, аnd artistic expression.
Іn a lively ɑnd inclusive community, trainees tаke part іn management chances ѕuch аs trainee governance functions аnd
global exchange programs ԝith partner organizations abroad, which expand
their ρoint of views and construct importɑnt worldwide competencies.
The focus on core values like integrity ɑnd
strength іs incorporated into every ԁay life througһ mentorship plans, social w᧐rk efforts, and wellness programs tһat cultivate psychological intelligence ɑnd
individual growth. Graduates οf Nanyang Junior
College consistently excel іn admissions tⲟ top-tier universities, upholding a proud tradition of impressive accomplishments,
cultural appreciation, ɑnd ɑ ingrained passion for continuous
sеlf-improvement.
Aiyo, mіnus strong math in Junior College,
еven leading school children maү stumble аt high school calculations, tһerefore build tһat рromptly leh.
Oi oi, Singapore parents, math proves ⲣerhaps thе most
essential primary topic, promoting imagination tһrough
challenge-tackling іn innovative careers.
Folks, kiasu approach activated lah, solid primary maths leads f᧐r improved scientific
comprehension plus construction aspirations.
Wow, math serves ɑs tһe base pillar of primary education, assisting youngsterss fօr spatial thinking t᧐ architecture routes.
Alas, ѡithout solid maths іn Junior College, еvеn leading school children mіght struggle ᴡith
secondary algebra, tһerefore cultivate thiѕ immeⅾiately leh.
Hіgh A-level GPAs lead tο leadership roles іn uni
societies аnd beyond.
Don’t play play lah, combine а reputable Junior College рlus math superiority fⲟr guarantee elevated
Α Levels marks рlus seamless transitions.
Parents, worry ɑbout thе gap hor, mathematics groundwork remаins
essential аt Junior College іn understanding іnformation, crucial
ԝithin current online ѕystem.
Heгe iѕ mү web-site :: expert maths tuition
expert maths tuition
17 Sep 25 at 5:41 am
купить диплом техникума ссср [url=https://www.educ-ua7.ru]купить диплом техникума ссср[/url] .
Diplomi_lzEr
17 Sep 25 at 5:42 am
перепланировка офиса согласование [url=pereplanirovka-nezhilogo-pomeshcheniya3.ru]перепланировка офиса согласование[/url] .
pereplanirovka nejilogo pomesheniya_izsa
17 Sep 25 at 5:43 am
После обращения по телефону или через сайт диспетчер уточняет адрес и состояние пациента. В экстренных случаях команда врачей может прибыть уже в течение 60 минут, обычно — за 1–2 часа. На месте проводится первичный осмотр: проверяются жизненные показатели, уточняется история употребления, сопутствующие заболевания. Врач определяет наиболее безопасную и эффективную тактику, исходя из возраста, состояния здоровья и длительности запоя.
Изучить вопрос глубже – https://vyvod-iz-zapoya-noginsk5.ru/srochnyj-vyvod-iz-zapoya-v-noginske/
Josephhep
17 Sep 25 at 5:46 am
Купить диплом ВУЗа!
Мы предлагаеммаксимально быстро купить диплом, который выполнен на оригинальной бумаге и заверен мокрыми печатями, штампами, подписями. Диплом способен пройти лубую проверку, даже с применением специальных приборов. Решите свои задачи максимально быстро с нашей компанией- [url=http://overseaspakistani.gmchltd.com/profile/maryloubernal/]overseaspakistani.gmchltd.com/profile/maryloubernal[/url]
Jariorrrc
17 Sep 25 at 5:46 am
https://www.awwwards.com/candetoxblend/
Afrontar una prueba de orina ya no tiene que ser una incertidumbre. Existe un suplemento de última generación que actúa rápido.
El secreto está en su fórmula canadiense, que estimula el cuerpo con creatina, provocando que la orina enmascare los metabolitos de toxinas. Esto asegura parámetros adecuados en menos de lo que imaginas, con ventana segura para rendir tu test.
Lo mejor: no se requieren procesos eternos, diseñado para candidatos en entrevistas laborales.
Miles de usuarios confirman su rapidez. Los entregas son confidenciales, lo que refuerza la tranquilidad.
Si no quieres dejar nada al azar, esta fórmula es la herramienta clave.
JuniorShido
17 Sep 25 at 5:47 am
согласование проекта перепланировки нежилого помещения [url=https://pereplanirovka-nezhilogo-pomeshcheniya1.ru/]https://pereplanirovka-nezhilogo-pomeshcheniya1.ru/[/url] .
pereplanirovka nejilogo pomesheniya_dnsi
17 Sep 25 at 5:48 am
диплом высшего образования проведенный купить [url=www.altasugar.it/new/index.php?option=com_kunena&view=topic&catid=2&id=171620&Itemid=151/]диплом высшего образования проведенный купить[/url] .
Zakazat diplom lubogo instityta!_rhkt
17 Sep 25 at 5:48 am
Hi there! I could have sworn I’ve visited this blog before but after browsing through many of the posts I realized it’s new to me.
Regardless, I’m certainly delighted I came across it and I’ll be book-marking it and checking
back often!
99 Win
17 Sep 25 at 5:48 am
смотреть боевики [url=http://kinogo-11.top]http://kinogo-11.top[/url] .
kinogo_ykMa
17 Sep 25 at 5:49 am
согласование перепланировок нежилых помещений [url=www.pereplanirovka-nezhilogo-pomeshcheniya.ru/]www.pereplanirovka-nezhilogo-pomeshcheniya.ru/[/url] .
pereplanirovka nejilogo pomesheniya_glKn
17 Sep 25 at 5:49 am
bs2best at, bs2web at и bs2 market: глубокий анализ технологий 2025 года
bs2best at
bs2best.at blacksprut Official
Jamesner
17 Sep 25 at 5:49 am
Эта статья — настоящая находка для тех, кто ищет безопасные и выгодные сайты покупки скинов для CS2 (CS:GO) в 2025 году. Переходи на статью: магазин скинов кс го Автор собрал десятку лучших проверенных платформ, подробно описал их особенности, преимущества, доступные способы оплаты и вывода средств, чтобы сделать ваш выбор максимально скрупулезным и простым.
Вместо бесконечных поисков по форумам, вы найдете ответы на все важные вопросы: где самые низкие комиссии, как получить бонусы, какие площадки позволяют быстро вывести деньги и что учитывать при покупке редких или дорогих предметов. Статья идеально подойдет игрокам, коллекционерам и тем, кто ищет надежные инструменты для безопасной торговли скинами.
Davidtet
17 Sep 25 at 5:50 am
проект перепланировки нежилого помещения стоимость [url=http://pereplanirovka-nezhilogo-pomeshcheniya3.ru]http://pereplanirovka-nezhilogo-pomeshcheniya3.ru[/url] .
pereplanirovka nejilogo pomesheniya_cxsa
17 Sep 25 at 5:50 am
диплом ссср купить недорого [url=www.educ-ua17.ru]www.educ-ua17.ru[/url] .
Diplomi_obSl
17 Sep 25 at 5:51 am
купить аттестат об окончании 11 классов [url=educ-ua2.ru]купить аттестат об окончании 11 классов[/url] .
Diplomi_ydOt
17 Sep 25 at 5:51 am
I always used to read article in news papers but now as I am a user of net therefore from now I am using net for content, thanks to
web.
ГГпокер казино бездепозитный бонус
17 Sep 25 at 5:52 am
согласование перепланировки нежилых помещений [url=http://pereplanirovka-nezhilogo-pomeshcheniya.ru]http://pereplanirovka-nezhilogo-pomeshcheniya.ru[/url] .
pereplanirovka nejilogo pomesheniya_kbKn
17 Sep 25 at 5:53 am
купить диплом в виннице [url=http://educ-ua4.ru]http://educ-ua4.ru[/url] .
Diplomi_yhPl
17 Sep 25 at 5:53 am
купить диплом техникума с реестром [url=http://www.arus-diplom34.ru]купить диплом техникума с реестром[/url] .
Diplomi_iyer
17 Sep 25 at 5:55 am
купить диплом проведенный [url=https://educ-ua13.ru/]купить диплом проведенный[/url] .
Diplomi_zbpn
17 Sep 25 at 5:55 am
My developer is trying to persuade me to move to .net
from PHP. I have always disliked the idea because
of the costs. But he’s tryiong none the
less. I’ve been using WordPress on a variety of websites for about
a year and am nervous about switching to another platform.
I have heard very good things about blogengine.net.
Is there a way I can import all my wordpress posts
into it? Any kind of help would be really appreciated!
آدرس دانشگاه شهید بهشتی
17 Sep 25 at 5:55 am
easybetonline.co.za
easybet
17 Sep 25 at 5:55 am
согласование перепланировки нежилого помещения [url=www.pereplanirovka-nezhilogo-pomeshcheniya3.ru/]согласование перепланировки нежилого помещения[/url] .
pereplanirovka nejilogo pomesheniya_kzsa
17 Sep 25 at 5:56 am
смотреть фильмы онлайн [url=http://kinogo-11.top/]http://kinogo-11.top/[/url] .
kinogo_vlMa
17 Sep 25 at 5:56 am
Купить диплом техникума в Донецк [url=http://educ-ua6.ru]Купить диплом техникума в Донецк[/url] .
Diplomi_xcMl
17 Sep 25 at 5:56 am
It’s a shame you don’t have a donate button! I’d certainly donate to this superb blog!
I suppose for now i’ll settle for book-marking and adding your RSS feed to
my Google account. I look forward to new updates and will share this site with my Facebook group.
Chat soon!
گرفتن مدرک دندانسازی فنی حرفه ای
17 Sep 25 at 5:58 am
Watch out, Orlando, a new world theme park capital is rising in the Arabian desert
[url=https://trip-scan.co]tripskan[/url]
For decades, Orlando has reigned as the global capital of theme parks — a place where Disney, Universal, SeaWorld and countless other attractions have drawn millions of visitors.
But a challenger for the crown has emerged from an unlikely place: the deserts of the Arabian Gulf. In a destination once known more for oil wealth and camel racing than roller coasters, Abu Dhabi is building an adrenaline-charged playground that could give Orlando a run for its money.
And it just landed the ultimate weapon: Disney.
https://trip-scan.co
trip scan
In May 2025, when Disney announced its first new theme park in 15 years, it chose Abu Dhabi over other key theme park destinations in California, Japan and even Orlando.
There was “no question,” says Josh D’Amaro, chairman of Disney Experiences. The UAE capital, already home to Ferrari World, with the world’s fastest roller coaster; Warner Bros. World (built under license by CNN’s parent company, Warner Brothers Discovery); Yas Waterworld, an epic network of slides and pools; and more recently, SeaWorld Yas Island Abu Dhabi. It’s clear the emirate is emerging as the most serious challenger Orlando has ever faced.
Ferrari World Abu Dhabi is home to the world’s fastest rollercoaster and the highest loop ride.
Ferrari World Abu Dhabi is home to the world’s fastest rollercoaster and the highest loop ride. Leisa Tyler/LightRocket/Getty Images
Disneyland Abu Dhabi, expected to open on Yas Island in the early 2030s, will be the company’s most technologically advanced park ever. Renderings show a shimmering, futuristic tower at its center — more closely resembling Abu Dhabi’s gleaming skyline than a traditional European castle. It will be the first Disney resort set on an accessible shoreline, located just 20 minutes from downtown Abu Dhabi.
Related video
What began as a shared passion between two friends has grown into the “Abu Dhabi House Movement” — a fast-growing community redefining the city’s music scene. Co-founder Tom Worton takes us inside this grassroots world, where music lovers, DJs, and cultural spaces collide.
video
House beats and hidden venues: A new sound is emerging in Abu Dhabi
The theme park will be developed, built and operated by Miral, the Abu Dhabi company behind Yas Island’s roster of other attractions. Disney Imagineers will handle creative design and operational oversight, making sure the new park is in keeping with Disney’s brand.
Miral’s CEO, Mohamed Abdalla Al Zaabi, says demand already exists: 2024 saw a 20% rise in theme park attendance on Yas Island. And expansion is already in the works — a Harry Potter–themed land at Warner Bros. World, more record-breaking rides at Ferrari World, new themed hotels, and even two beaches along Yas Bay Waterfront.
‘This isn’t about building another theme park’
disney 3.jpg
Why Disney chose Abu Dhabi for their next theme park location
7:02
Abu Dhabi’s location, a medium-haul flight away from both Europe and Asia, and relatively short hop away from India, means millions of potential visitors are within relatively easy reach.
“This isn’t about building another theme park,” Saleh Mohamed Al Geziry, Abu Dhabi’s director general of tourism, told CNN. “It’s about defining Abu Dhabi as a global destination where culture, entertainment and luxury intersect.”
RichardIncah
17 Sep 25 at 5:58 am