home.social

#override — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #override, aggregated by home.social.

  1. Переопределение классов ядра Joomla с помощью плагина на примере MVCFactory

    Разработчики сайтов, веб-мастера, рассматривая Joomla как CMS, чаще всего используют компоненты ядра такими, какие они есть. Но компоненты ядра, обеспечивающие CRUD-ы в Joomla, следует рассматривать ещё и как примеры использования Joomla в качестве фреймворка. Иногда реалии проекта таковы, что требуется внести изменения именно в логику классов ядра Joomla. Я покажу это на нескольких примерах: как исхитрялись раньше и какие возможности появились в современных версиях Joomla. Сразу оговорюсь: речь не о том, чтобы править файлы ядра. Это плохая идея почти всегда. При обновлении Joomla такие изменения будут потеряны, а сопровождать их потом придётся вручную. Речь о другом: как изменить точку создания MVC-классов компонента через плагин и DI-контейнер, не залезая в core-файлы. Ну и приятный бонус - Joomla-археология и немного красивого и ужасного треша из практики 😎

    habr.com/ru/articles/1033646/

    #joomla #joomla_6 #mvcfactory #mvc #override #декоратор #ооп

  2. What is #OOP? The current Object Oriented #Programming has been distracted by #classes, #interfaces, #override, .. and is ignoring its crucial component, namely #object. Claude4 Sonnet and I are developing this new language called Sunya to get rid of all the nuisance and focus on objects. An object is a standalone entity that has attributes and functionalities and that can "emulate" other objects directly. As object is a set of functions with a persistent state. A module is a complex object.

  3. Idaho Governor Little vetoes controversial library bill

    Saying the bill would create a “#bounty #system,” Gov. Brad Little on Wednesday #vetoed a bill designed to limit access to materials in school and public libraries.

    The veto comes a day before lawmakers reconvene at the Statehouse — which could set the stage for another #veto #override vote.

    House Bill 314 passed both houses last week, although Friday’s House vote margin fell below the two-thirds majority needed to override a veto.

    Dubbed the “Children’s School and Library Protection Act,” HB 314 would prohibit libraries from distributing materials that are “harmful to minors.”
    idahoednews.org/legislature/li

  4. Under #BClaw , permits for #WestcoastConnectorGasTransmission project expire next year if #Enbridge isn’t ready to start construction. Company requested extension until 2029.
    Heyman must decide whether to approve an emergency #override to BC’s #Environmental Assessment Act. Basically to make an exception to the law for the largest #pipeline company on Earth.

    dogwoodbc.ca/news/enbridge-eme

    #BCpoli #CANPoli #StopEcocide #BCNDP #EndFossilFuels #PNW #ClimateChange #StopFracking #BritishColumbia #Canada