Signals and Slots in TYPO3 Flow

Signals and slots in flow allows users to handle or execute any function based on an event. When an event is triggered a signal is emitted by using signal method and this is then handled by the slots listening to this signal. A slot can be any method defined in Flow and user can execute any code in the slot depending on his/her requirement Defining and Using Signals To define a signal, create a method which starts with emit and annotate it with a Signal annotation. Whatever parameter are defined in the signal will be handed over to any slots listening to that signal. The Signal...

TYPO3 Neos
How to change a fluid template from another package

Configuring Views through Views.yaml If you want to change Templates, Partials, Layouts or the whole ViewClass for a foreign package without modifying it directly, you can create a Views.yaml in your configuration folder of your package and override all options the view supports.           Suppose you have package “Lelesys.PackageA” and there is a StandardController which has indexAction and you have another package “Lelesys.PackageB”. You can add a Views.yaml file to Lelesys.PackageB and override template of Lelesys.PackageA StandardController's ind...

Netbeans IDE settings for beautiful TYPO3 Flow code

TYPO3 Flow coding guidelines mention "beautiful code" and we fully agree with this. Therefore we use standard settings in Netbeans IDE all over our development team at Lelesys. In this article we provide some details about how to make this possible with few settings which will make your code beautiful and life easier

Activity Logging In TYPO3 Flow

IntroductionAn activity log is important for analyzing the user activities that occur on a website. It provides statistics which prove to be useful in tracking the performance of a website. These are the records which are maintained, in order to keep track of visitors to a website. The errors that occur in site functionality are also recorded. Measuring the number of visitors to the website is the log's most important function. The details that are recorded may include the following: Number of page viewsVisiting time and dateNumber of downloaded filesReferral source of the visito...

TYPO3 Flow User Authentication

TYPO3 Flow identifies the communication partner as per request received for authentication. TYPO3 Flow provides an infrastructure of authentication to use different mechanisms and infrastructure is flexible extensibility. You can write your own authentication provider and easily configure with framework. Authenticate User by authentication controller There is a separate controller for authentication in TYPO3 Flow security package. There are two actions as authenticate Action() and logoutAction() in authentication controller. When you call http://localhost/flow/authenticate in browser that ti...

Superuser package for TYPO3 Flow 

 The superuser is a special user account used for system administration or controlling all aspects of a portal as a chief. With Superuser package, admin can make any transactions on behalf of another user without logging out or entering other user's password.Lelesys.SuperUser package has been developed using TYPO3 Flow framework. Below are the steps involved in superuser functionality:

Infinite Scrolling

As the User scrolls down the page, an ajax call is fired that will fetch the next set of data from the database and render it on the page. This will continue as you scroll down until all the data is fetched from the database.As you know, nowdays the Users require large amount of data in minimum amount of time. And this can be handled by using some techniques for e.g Caching, Loading data when required and so on.In this article we will learn how to implement infinite scroll, similar to the one implemented in Facebook, using jQuery.Infinite scroll can be done in two ways :Using existing jq...

PHP Web Application Security

It is important to secure web applications otherwise attackers can damage users data like emails, passwords, personal identity data, credit card details, business secrets, family and friend contacts, transaction history. User damage will cause the damage of company. User will loose the trust on company and company will loose good reputation and it will affect on business. Here in this article we are going to cover most common security threads in PHP scripts.SQL injection SQL injection is a kind of attack that malicious users enter SQL in form fields in a way that affects the execution of SQL...

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: 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();...

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