Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4836

Working with classes

$
0
0

@ioanszabo wrote:

Hi,
What I want is to be able to create objects from classes. (I know there are no classes in javascript and about delegation)

Now, I have singletons in services. But if I do not want singletons, how should I proceed?
Where I can define object types? and then use them?

In order to simulate that I created some utils as suggested here, https://guides.emberjs.com/v2.5.0/tutorial/service/
but does not feel right.

Thansks.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4836

Trending Articles