Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XP 6 #172

Closed
thekid opened this issue Oct 17, 2011 · 5 comments
Closed

XP 6 #172

thekid opened this issue Oct 17, 2011 · 5 comments

Comments

@thekid
Copy link
Member

thekid commented Oct 17, 2011

Scope of Change

The next major XP framework release will bring a magnitude of new features.

Rationale

This RFC gives a strategic outlook to the further development.

Functionality

The XP 6 series are not backwards compatible - code written in XP 5 will not work and will need to be converted. The XP 5 series will be continued for a while before being phased out.

Core only.

See the separate RFCs #262, #278 and #287

PHP 5.4+

This XP Framework version requires a PHP version greater than or equal to 5.4.0. See RFC #281.

Namespaces

All XP classes will be inside namespaces. This supersedes the functionality implemented in #37 and makes all classnames always fully qualified (but allows for short notation by using "use"). See #136, step 2: For classes imported by uses(), short aliases will be created. Other classes only exist via there fully qualified name.

Unicode

Unicode (see #146) support will be added. All strings are to be considered being utf-8. The HTTP, command line, rdbms, LDAP, FTP, web services, files and other APIs will be changed to handle Unicode. The user should not need to encode or decode manually.

Using

The with() "statement" will be extended to support the lang.Closeable interface. It closes all parameters after running the block - even when that yields an exception.

with (new FileReader(__FILE__), new FileWriter('php://stdout'), function($in, $out) {
  $out->write($in->read());
});

Security considerations

n/a

Speed impact

n/a

Dependencies

There are now new dependencies, PHP 5.3 is kept as minimum version.

Deprecations

The following are no longer needed or required:

BC problems

These issues are to be considered problematic:

  • Serialization format has changed in PHP 5.3
  • All classes are now namespaced, cases where the unqualified class names are used need to be changed

Related documents

@thekid
Copy link
Member Author

thekid commented Nov 9, 2013

@thekid
Copy link
Member Author

thekid commented Aug 17, 2014

First alpha release available at https://github.com/xp-framework/core/releases/tag/v6.0.0alpha1. To use it, download the xp-6.0.0alpha1.zip file and unzip.

$ wget https://github.com/xp-framework/core/releases/download/v6.0.0alpha1/xp-6.0.0alpha1.zip
$ unzip xp-6.0.0alpha1.zip && rm xp-6.0.0alpha1.zip
# ...

$ USE_XP=6.0.0alpha1 xp -v
XP 6.0.0-dev { PHP 5.5.9 & ZE 2.5.0 } @ Windows NT SLATE 6.2 build 9200...
Copyright (c) 2001-2013 the XP group
ArchiveCL<...\xp\6.0.0alpha1\lib\xp-rt-6.0.0alpha1.xar>
FileSystemCL<...\xp\>

Known issues (visible above 😄)

  • Version number incorrect
  • Copyright outdated

@thekid
Copy link
Member Author

thekid commented Aug 24, 2014

Second alpha release available at https://github.com/xp-framework/core/releases/tag/v6.0.0alpha2. Installation goes as above, the known issues mentioned above have been fixed.

@thekid
Copy link
Member Author

thekid commented Feb 8, 2015

After 7 alphas and 3 betas we are finally live!

@thekid thekid closed this as completed Feb 8, 2015
@kiesel
Copy link
Member

kiesel commented Feb 8, 2015

Yay! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants