Feature #41706

Provide standard library with configurable usage

Added by Christopher Hlubek over 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Should have
Target version:
-
Start date:
2012-10-08
Due date:
% Done:

100%

Estimated time:

Description

Eel should include a standard library with the most basic functions for Date, String and Array.

Suggestion:


Date.now().format("d.m.Y")
String.strftime("%d.%m.%Y", Date.now())
Array.join(Array.reverse(items), ' - ')
Array.count([1, 2, 3])

Eel should still be usable with an empty Context for total flexibility.


Related issues

Related to Base Distribution - Task #41859: Create a standard library for common string, array and date functions in EELAcceptedChristopher Hlubek

Actions
#1

Updated by Christopher Hlubek over 7 years ago

Eel Core

StringHelper:

DateHelper:

ArrayHelper:

MathHelper:

Flow

ResourceHelper:

  • Access to static and persisted resources

I18nHelper:

  • I18N translations and formatting

UriHelper:

  • Access to building URIs via Eel

Neos

FormatHelper:

  • Crop

NodeHelper:

  • Build URIs to Nodes
#2

Updated by Christopher Hlubek over 7 years ago

  • Status changed from New to Accepted
  • % Done changed from 0 to 30
#3

Updated by Christopher Hlubek over 7 years ago

  • % Done changed from 30 to 80

This issue needs only a MathHelper to be resolved, the other helpers are tracked by #41859.

#4

Updated by Gerrit Code Review over 7 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24241

#5

Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24241

#6

Updated by Gerrit Code Review over 7 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24241

#7

Updated by Gerrit Code Review over 7 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24241

#8

Updated by Gerrit Code Review over 7 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24241

#9

Updated by Gerrit Code Review over 7 years ago

Patch set 6 for branch master of project Packages/TYPO3.Eel has been pushed to the review server.
It is available at https://review.typo3.org/24241

#10

Updated by Oliver Eglseder over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 80 to 100

Also available in: Atom PDF