We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Legacy libraries...should I use them?

Development and Programming

harsing's avatar
harsing
56 posts
5 years ago
harsing's avatar harsing

I’m a bit confused. The so called ”Legacy libraries” have all sorts of handy classes that I would like to use. The Input class for example.

But what does ”legacy” really mean here? I get that they are the are a legacy from the previous versions of EE, but does that mean that development will stop and that they will be removed in the near future?

And the big question is: should I even use them in my own addons or will I be left in the dust with a fossil application that is a dead dinosaur when the libraries are removed down the road?

Regards, Matts

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
5 years ago
Robin Sowell's avatar Robin Sowell

Good question- I’d use them if there’s isn’t a newer alternative that does the same thing. Do not use deprecated- and you’ll know they’re deprecated because those will show up in the developer logs.

But legacy is fine and used natively and as things are updated they’ll move over to services etc. with plenty of warning and deprecation notices and an easy update path if needed. Or none needed at all. But nothing will go poof without a ton of explicit warning and an upgrade path. And the core depends heavily on methods in legacy, so you’ll be in good company.

       
harsing's avatar
harsing
56 posts
5 years ago
harsing's avatar harsing

That sounds great. Thanks a lot!

Regards, Matts

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.