You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function calls are the way they are today to make Dummy code friendly and approachable to non-developers, and/or quasi-developers like me who work almost exclusively in the front-end. So the most important thing is the syntax,... that it's compact, and that it scans easily inside of vanilla HTML without looking too intimidating or out of place, at the same time dropping hints to other team members about what the code is doing – being as expressive, litteral and human readable as it can possibly be. (e.g. You have a <? if (dumb_luck("50%")): ?>50<? else: ?>50<? endif ?> chance!
Show me some examples of how what'd you like to do could improve (not complicate) the syntax and I'm super interested. If it's more complicated then maybe it makes a better fork? What do you think?
Ideally, Dummy would live as a service layer, generating text and serving image assets via an API for many different languages and environments. So PHP, Ruby, Python, whatever could write to the same API...and then be more integrated with envs like Symfony, ...or even ide's like Xcode.
Hello,
what do you think about rewrite functionality of this library to OOP and use DummyClass instead of direct function calls?
I'm trying to write Symfony 2 Bundle over this library and this should lead to better extensibility and better usage in the future.
To have backwards compatibility it is possible to modify curret functions:
For example:
I will try to do this in my fork, but I would like to have your opinion on this.
Regards,
Milan
The text was updated successfully, but these errors were encountered: