Comments (5)
Since we don't have any control over which version of PHP the library is gonna be run against and we had some customer on version older than 5.3 we decided not to use namespaces.
from omise-php.
Are you not like to have a separate branch for EOL PHP? I think developer would love for have some language features that you be able to make a library look pretty. There are some several things that just coming up in recent years to improve the quality of code. ex. PSR standard.
At least, I think to support a library where the dependencies (such the PHP itself) are all obsoleted would risk to a system and a library itself. When step up the new major version of library, it may be a good time to arrange the code to be more practical.
from omise-php.
I'm a practical guy. Doing two versions isn't practical at the moment. Neither for us, nor for our users. This is Thailand, don't underestimate what is still running out there. I'm not saying we won't do it but instead that right now isn't the time.
We're still adding feature quite often and implementing new features twice isn't something I can dedicate time to. We love backward compatibility and being nice to our users, and we hate sunsets and forcing people to put up with the chore of updating just because: pretty.
Giving two separate documentation, with two different way of installing things is confusing. Confused people will in turn contact our support and I'd prefer not have our support spend too much time on those kind of thing if I can help it. Furthermore if we decide to EOL the old way (simple class) we then force users to upgrade their infrastructure if they want the new features because of a choice I made for them. And I'm sure they have better things to do.
I'm happy to debate this further with you but as far as I'm concerned I'm not gonna implement namespace right now just for the sake of perceived "prettiness".
from omise-php.
Ahhh..... OK. Thank you for give a detail. 💃 🍻
Have fun Friday.
from omise-php.
You're welcome. If you have anything else you want to ask. We're always happy to help.
from omise-php.
Related Issues (20)
- Omise Unit Tests Clashing With Laravel Unit Tests HOT 2
- Certificates file is several years old HOT 2
- Not receiving webhook for charges HOT 3
- Magento Checkout cart error HOT 1
- [Question] How to pass custom CURLOPT option HOT 2
- Live server issue HOT 7
- method OmiseCardList@retrieve use empty key HOT 1
- The bug related to storing keys in a singleton pattern. HOT 1
- Error extracting file `?limit=1-get.json` via composer on Windows OS. HOT 2
- Add a programmatic way to check whether the 3D Secure validation is enabled for a given Omise account HOT 3
- Provide the public access to the OmiseObject::$_values array at the whole with a method like getValues() HOT 4
- This library needs more love HOT 11
- Proposal for 3-0-0 design HOT 3
- How to get authorize_uri form $_values after call api charge HOT 3
- Some PHP hosting with curl can't use omise-lib HOT 3
- OmiseCardList::Count() works incorrect HOT 7
- api version HOT 2
- How to store Customer IDs? HOT 6
- Proposal: implement extension for Omnipay HOT 3
- omise-php should set CURLOPT_SSLVERSION to prevent TLS 1.1 request on some platform. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omise-php.