Setting up TYPO3 Flow coding standards

TYPO3 Flow provides rule set for code sniffer for Netbeans and other IDEs. Best way to access coding standards from pear.typo3.org This articles takes you through setting up PHP code sniffers on Netbeans and then include rule set for TYPO3 FlowSetting up CodeSnifferThe first job is to make sure you have PHP Codesniffer installed, so from a terminalsudo pear install PHP_CodeSnifferDownload the pluginYou can download the NetBeans plugin from downloads page of Benjamin Eberlei’s GitHub repository.Just Go tohttps://github.com/beberlei/netbeans-php-enhancements/downloads and download .nbm file...

Updating Facebook Pages/Places using Facebook APIs

Difference between Page and PlaceFacebook Page: Like a friend's profile, Facebook Pages enable public figures, businesses, organizations and other entities to create an authentic and public presence on Facebook. Unlike your profile, Facebook Pages are visible to everyone on the internet by default. You, and every person on Facebook, can connect with these Pages by becoming a fan and then receive their updates in your News Feed and interact with them.Facebook Place: Facebook places are also the pages but it has address where its located, basically ...

Developing SOAP API's With TYPO3 Flow

SOAP, originally defined as Simple Object Access protocol, is a protocol specification for exchanging structured information in the implementation of web services in computer networks. It relies on XML Information Set for its message format, and usually relies on other application layer protocols, most notably Hypertext Transfer Protocol (HTTP) or Simple Mail Transfer Protocol (SMTP), for message negotiation and transmission. Requirements: You should have a running, TYPO3 Flow installation. Your PHP installation should have the soap extension installed and activated. Installin...

TYPO3 Flow as RESTful data proxy for Sencha Touch 2 App
TYPO3 Flow Package dependencies

I spent today 5 hours on digging a weird issue. Package X was developed and it contained Policy configuration.On development and staging environment the Policy was working fine and ONLY on live site it was not loading the Policy only. So i dug for 5 hours and came to know that the Package X was loaded before TYPO3.Flow. So TYPO3.Flow empty policies declarations was overwriting Policies from Package X. Why Package X was loaded before TYPO3.Flow?- Package X had no dependency set as typo3/flow.PackageStates.php is written based on the dependency level of the packages. We need to keep...

TYPO3 Flow: How to crawl HTML content

Sometimes you want to read HTML code and find some content in it (aka crawling). So to do this easily and object oriented way you can do it as follows with Flow. By default DomCrawler package is installed with Flow.Additionally require "symfony/css-selector": "2.2.*" in your composer.json. this makes easier to find tags jQuery way! see below.<code>use Neos\Flow\Http\Client\CurlEngine;use Neos\Flow\Http\Request;use Neos\Flow\Http\Uri;use Symfony\Component\DomCrawler\Crawler;$uri = 'http://www.google.com'$request = Request::create(new Uri($uri));$curlEngine = new CurlEngine();...

Read TYPO3.SwiftMailer e-mail even without receiving actual e-mail

How to read TYPO3.SwiftMailer e-mail even without receiving actual e-mail?Put following settings in your Development/Settings.yaml fileTYPO3:  SwiftMailer:    transport:      type: 'TYPO3\SwiftMailer\Transport\LoggingTransport'        options: []Then you can simply read the e-mail contents in the Data/Logs/System_Development.log file!

TYPO3 Flow/Neos in development context

While working on a Flow/Neos proeject locally you must be finding it very slow and taking time to render pages. Why this happens is Flow keeps monitoring changes of files in ALL packages.While we work on the project we really don't modify any other packages except the project packages. So what you can do is freeze all packages which you don't modify all the time. Mainly these include Packages/Framework/* and Packages/Libraries/*. So when package is frozen Flow does not look for file changes in it. How to do on command line?1. First freeze all packages./flow package:freeze all2....

Copyright © 2019 Lelesys Informatik GmbH, Deutschland. All Rights Reserved.