A component in the Unified Modeling Language "represents a modular part of a system, that encapsulates its content and whose manifestation is replaceable within its environment. A component defines its behavior in terms of provided and required interfaces". The best example of component can be found in ActionScript- Flash,Flex sdks. There you have UI components like buttons, labels, DataGrids, charts those are reusable, distributable etc.
Questions tagged [components]
11658 questions
3
votes
3 answers
ECS-can an entity have more than one component of given type
I've been recently assigned to code a Entity-component-system based framework. As I'm not experienced in that matter, I have a simple question:
Can I assume, that an entity can have maximum of one component of each type? I mean like:
int…

Oti
- 98
- 1
- 7
3
votes
3 answers
How to build components cleanly/structure logic in AngularJS
I have a shopping cart component in my app. It lives in a controller. The controller is instantiated in a partial which is loaded to the page on demand (icon in menu bar).
app.controller('CartCtrl', function($scope, $http, storage) {
…

kernfrucht
- 3,448
- 3
- 15
- 10
3
votes
1 answer
Using Laravel 4's Input class outside the framework
I like the way Laravel 4 handles the input, and how you can get the value via Input::get() no matter if its sent by get, post or whatever.
I'm working on a project that does not use Laravel as the framework, but it will be great if i can use the…

user3005256
- 41
- 2
3
votes
1 answer
ColdFusion Components Inheriting Functions Of Others
I have two simple CFCs as shown below:
Test1.cfc
Test2.cfc

JRomeo
- 543
- 1
- 4
- 20
3
votes
3 answers
Where to define a filter function for a form field in my Joomla component's preferences
I am creating a component in Joomla 2.5. This component has some options that are defined in its config.xml, so they can be set in the preferences of the component. Now I would like to apply a filter to one of these option fields, using the…

Herman
- 361
- 3
- 13
3
votes
2 answers
Free Component which can show richtext with pictures Delphi
I need a free component like RichEdit, but which can also show pictures inside. I am using Delphi 7. Unfortunately RichEdit cannot show pictures, and few components which can are not free.

Tofig Hasanov
- 3,303
- 10
- 51
- 81
3
votes
0 answers
Protected and/or Internal Component Properties in NHibernate
The docs for NHibernate clearly state that properties (and I assume, by extension, components) with any access modifier can be mapped. However, this is not the behaviour I'm seeing, and I'm wondering if anybody can tell me if this is my mistake or…

Aaronaught
- 120,909
- 25
- 266
- 342
3
votes
2 answers
What can I use to implement a doughnut chart in iOS?
I'm looking for a free iOS component that allows me to draw a doughnut chart with text in the center. So far I've only used Code Plot, but that is a full pie chart.
I'm attaching an example of the requirement.
Any help will be much appreciated.

Andres SK
- 10,779
- 25
- 90
- 152
3
votes
2 answers
How to change the font size for text input in Flash CS6
I am having trouble changing the font size for the flash component, text input.
This text input component is already ready made where you can find it in components.
So i just drag and drop it onto the stage. However, the font size is too small. And…

Apple.
- 117
- 2
- 4
- 12
3
votes
3 answers
PHP Yii: Database connect in runtime
I would like to connect to a second database with Yii at runtime. The database name would come from a database table after the user to login.
I saw in a tutorial I should do this:
$db2 = Yii::createComponent(array(
'class' => 'EMongoClient',
…

Leonardo Delfino
- 1,488
- 10
- 20
3
votes
2 answers
cq:emptyText is not working in Adobe CQ5.5
I'm developing a custom container component in Adobe CQ5.5 and I'd like to have a custom message as a placeholder instead of the default "Drag components or assets here".
What I found out until now is that I have to add cq:emptyText="My custom…

Stan
- 1,251
- 1
- 15
- 24
3
votes
1 answer
Changing the backcolor of a childnode in the treeview
As per TreeView Remove CheckBox by some Nodes
After doing so I have my tree-view of check-box without parent node check-box.
But I am facing a problem, I am not able to change the color of a particular child node.
ie. if i try to change like…

Abin
- 2,868
- 1
- 23
- 59
3
votes
1 answer
Componentjs vs requirejs?
What benefits to use componentjs (https://github.com/component/component) instead of requirejs?
Both project has the same idea, hard to make choice between them.

mikach
- 2,427
- 2
- 14
- 15
3
votes
1 answer
Build new joomla Component in Legacy or Native classes?
I am starting to develop my very first joomla 3 component.
Should I choose legacy or native classes and why?
What about support in the future?
Joomla core components use Legacy classes. Are they gonna be removed in the future?
Thanks!

user2698058
- 33
- 2
3
votes
2 answers
Inversion of Control or Dependency Injection -- anyone doing it in C?
See, for example, here
https://stackoverflow.com/questions/139299/difference-between-dependency-injection-di-inversion-of-control-ioc
to remind yourself what IoC and DI are.
The question and answer here
Is Inversion of Control specific to OO…

talkaboutquality
- 1,312
- 2
- 16
- 34