t3lib_div::_GP work in Typo3 6.2? - typo3-6.2.x

I use a new typo3 version 6.2, but i think don't work anymore.
$myVars = t3lib_div::_GP('tx_myextenson_pi1');
Is there a substitute for this ?
Thanks in advance!

In TYPO3 6.x t3lib_div is marked deprecated but still working (it's removed in 7.x finally) the same as many other well known - old fashioned classes in TYPO3 API!
You can/should use \TYPO3\CMS\Core\Utility\GeneralUtility::_GET('foo') instead (GeneralUtility::_GET('foo') - with proper import).
Take a look into typo3/sysext/core/Migrations/Code/LegacyClassesForIde.php which is just some kind of bridge, between pre-7 and after-7 API of TYPO3.

Related

Custom Content Element with fluid for TYPO3 6.2

I like the way how to build custom content elements with fluid_styled_content under TYPO3 7.x
I would like to know how to do it with TYPO3 6.2.x
I'm not talking about to use DCE...
In TYPO3 7 you would do something like
lib.myElement < lib.fluidContent
I tried with fluid_content extension but I'm struggling that the lib.fluidContent does not exist in 6.2
I tried already to build lib.fluidContent by my own, based on how its done in TYPO3 7 - but without luck.
Does anybody did it successfully or found any tutorial for that?
Have you already tried the backport of fluid_styled_content for TYPO3 6.2? You can find it on TER and on Github. This should allow you to do nearly the same as in TYPO3 7. As you can see on Github, some features are missing, but Patrick is actively developing the extension. Give it a try ;)

CXF Bundles: Whats the difference?

I'm using maven, but I dont understand the difference between following dependencies:
1.)
http://mvnrepository.com/artifact/org.apache.cxf/cxf-bundle/3.0.0-milestone2
2.)
http://mvnrepository.com/artifact/org.apache.cxf/cxf-bundle-compatible/3.0.3
Option 2 seems newer, but can I use it?
At the moment I use "http://mvnrepository.com/artifact/org.apache.cxf/cxf-bundle/2.7.14", but I want to upgrade to V. 3.x.x
I haven't found any informations about the cxf-bundle/3.0.0-milestone2 yet, but perhaps someone knows, whre to find more informations about this one.
The big monolithic bundle was removed in 3.0. Use the individual bundles that you need for your application.

MAMP Pro and PDO-dblib

For some days I've been using MAMP Pro 3.07 from http://www.mamp.info.
Great tool and all works fine.
But now I have the problem, that for a new project I need to connect to MSSQL.
I searched for a howto the last 3 hours in www, but canĀ“t find a working answer or am I to stupid?
Is there a possibility to install "PDO-dblib" on MAMP on OSX Yosemite?
Or can somebody explain me how I can do this?
Thanks in advance!
From PHP website:
PDO_DBLIB: This extension is not available anymore on Windows with PHP 5.3 or later.
I see MAMP allows you to use different versions of PHP, so if you choose php 5.1.6 it may work. There is also a comment there from a guy who wrote its own class for this purpose. I am adding you also the pecl repository for this PDODblib.
Apart of this I am recommending you to use the latest version of PHP and do not rely on maintained extensions. PDO, which comes now by default with PHP, allows you to connect to MSSQL databases and you can find documentation here and here.

what changed in play framework 2.x

doesn't play framework 2.0.4 support some consoles?
when i was using 1.x, i could use the console "play eclipsify"
and "play dependencies" to fbconnect and fbgraph modules
but from when i chaged the version, it's not working.
then how can i connect those modules? i've no idea to do that
i think the new version doesn't support those consoles for modules
is it correct?
is the way totally different? if then please let me know.
also juz awhile ago i checked the 1.2.5 version
and there is no dependencies.yml and module folder
would you let me know what changed and how can i apply and adjust?
Thank you for your time
https://github.com/playframework/Play20/wiki/Play-2.0-for-Play-1.x-developers
check this out
and i wanna tell you some people who evaluate my question
what if there is no begginer who really want to learn and ask, how developing survives?
i hate reputations!
Yes, it's TOTALY different, although some ideas are the same, Play 2.x is quite new product (as stated in many topics and questions since many months), there's (fortunately) no backward compatibility between Play 1.x and 2.x!
When you'll visit Play 1.x (only) modules page the first thing you'll see will be that disclaimer:
These modules are for the Play 1.x series only. Play 2.0 modules can be hosted anywhere on any Ivy, Maven or Git repository. We will add a directory for them here shortly.
Thanx to Pere Villega you can also search for Play 2.0 for Java or Scala modules on PlayModules.net site, however you need carefully choose between Play 1.x and Play 2.x series.
For working with eclipse, check the Play's 2.0 IDE documentation.

Grails and plugin-provided views

I was wondering if there has been any development on the bug http://jira.codehaus.org/browse/GRAILS-2685 ? It says that it's resolved but when I try to use it in 1.3.1 (latest at the time of writing as far as I know) it still does not work.
Great news! With the emergence of Grails 1.3.3 the views provided by plugins in a way described here works again! So the actual solution is to upgrade to 1.3.3 and life is good :D