Comments (17)
gonna start working on a PR prototype, we can discuss it from there
from phpol.
@marcusagm @joubertredrat It depends much on what will be decided on #4, but I think HTML related like nl2br
, encode/decode
should be in a "HtmlString" component.
from phpol.
- Components (title)
from phpol.
thanks @marcossffilho
from phpol.
At least for part 1, maybe:
- change case (upper, lower, title, initial, etc)
- length
- contains
- replace
- slice
from phpol.
@marcossffilho i did most of it already as example, needs refactor but those should not take long to refactor and complete.
from phpol.
@hernandev I saw in your code you adhere to immutability. The library will adopt as a must be?
from phpol.
@marcossffilho no it was an example, but we need to keep ti consistent between components even
from phpol.
I prefer we have both, even though I favor immutability instead of the other.
from phpol.
My suggestions
- length
- reverse
- charAt
- match
- slice
- indexOf
- split
- replace
- trim
- pad
- stripTags
- stripSlashes
- addSlashes
- humanize
- normalize
- camelize
- underscore
- htmlEncode
- htmlDecode
- toLower
- toUpper
- upperFirst
- lowerFirst
- upperWords
- countWords
- shuffle
- newLineToHtmlBreak
from phpol.
My suggestions
- escape
from phpol.
make sense
from phpol.
@marcusagm @marcossffilho HTML component depends a lot, I think is a little of overwhelming for now.
For the whole component, I think basic operations are enough and everything can be expanded with new Components.
from phpol.
Yep, these functions can wait as weel as functions related with regex (match)
from phpol.
Suggestion of functions:
- digits - Only numbers
- letters - Only letters
from phpol.
All voting members have already voted, so this vote has passed.
Summary:
Eligible voters: 7
Quorum: 7
Voting in favor: 7
Voting against: None
Abstaining: None
Result: The vote has passed.
from phpol.
Now the discussion related to this component should be taken at the relevant PR: phpol/string#1.
from phpol.
Related Issues (16)
- Namespace definition HOT 14
- Basic contribution specs proposition. HOT 5
- Collections component HOT 1
- Basic Guidelines for Commit Messages HOT 13
- Basic Guidelines to Git Commit Messages HOT 1
- @marcossffilho as Contributor and Voting Member HOT 4
- Component Licenses HOT 7
- Numeric component HOT 12
- Copyright holder for the MIT license HOT 2
- Array Library HOT 1
- First Covered Components HOT 6
- Project Style and Default Rules HOT 15
- Philosophy and Objectives HOT 17
- Restart library repositories? HOT 6
- Voting members admission - as of right now. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpol.