473,785 Members | 3,245 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Arrays and object oriented capabilities...

Here is my emails to Danny Goodman (but probably he is very busy so he
didn't answered it).

First email(simple): Subject: JavaScript Arrays
"
We all know the array can act like HashMap, but is there a shortcut
for creating such array ? eg
//simple array indexed via numbers
var a = new Array("a", "fdsf", "sada");
or,
a["a", "fdsf", "sada"];
, bo how a to make it an HashMap ? maybe that:
a["key1":"a", "key2":"fds f", "key3":"sad a"]

As last we all know that it works for objects:
a = { "key1":"a", "key2":"fds f", "key3":"sad a"};

Thanks for answer;
Lukasz(Luke) Matuszewski
"

Second email: Subject: JavaScript advanced elements
"
Hi !
I am a student from Tech. Univ. Of Gdansk and I am sort of advanced
begginer :) in JavaScript and ECMAScript standards. When I was reading
many scripts on different general projects like js calendar or js
menu-realted projects i found many things that i think to understand
but i want to know more about it with also realtion to ECMAScript
standard. Here is the following things:
1. Moder-browsers quick object construction like this:

function DynamicTree(id) {
...
this.img = {
"branch": "tree-branch.gif",
"doc": "tree-doc.gif",
"folder": "tree-folder.gif",
"folderOpen ": "tree-folder-open.gif",
"leaf": "tree-leaf.gif",
"leafEnd": "tree-leaf-end.gif",
"node": "tree-node.gif",
"nodeEnd": "tree-node-end.gif",
"nodeOpen": "tree-node-open.gif",
"nodeOpenEn d": "tree-node-open-end.gif" };
...
this.init = function() {
var p, img;
for (p in this.img) {
this.img[p] = this.path + this.img[p];
}
for (p in this.img) {
this.imgObjects .push(new Image());
this.imgObjects .getLast().src = this.img[p];
this.img[p] = this.imgObjects .getLast().src;
}
this.parse(docu ment.getElement ById(this.id).c hildNodes,
this.tree, 1);
this.loadState( );
if (window.addEven tListener) {
window.addEvent Listener("unloa d", function(e) { self.saveState( ); },
false); }
else if (window.attachE vent) { window.attachEv ent("onunload",
function(e) { self.saveState( ); }); }
this.updateHtml ();
};
...
this.nodeClick = function(id) {
var el = document.getEle mentById(id+"-section");
var node = document.getEle mentById(id+"-node");
var icon = document.getEle mentById(id+"-icon");
if (el.style.displ ay == "block") {
el.style.displa y = "none";
if (this.allNodes[id].isLast()) { node.src =
this.img.nodeEn d; }
else { node.src = this.img.node; }
icon.src = this.img.folder ;
this.opened.rem oveByValue(id);
} else {
el.style.displa y = "block";
if (this.allNodes[id].isLast()) { node.src =
this.img.nodeOp enEnd; }
else { node.src = this.img.nodeOp en; }
icon.src = this.img.folder Open;
this.opened.pus h(id);
}
/* fix ie bug - images not showing */
if (node.outerHTML ) { node.outerHTML = node.outerHTML; }
if (icon.outerHTML ) { icon.outerHTML = icon.outerHTML; }
};
...
this.updateHtml = function() {
document.getEle mentById(this.i d).innerHTML = this.toHtml();
};

}
Here is my question: we see that this.img is an object, but its
properties are closed in quotes (eg "branch": "tree-branch.gif"). Then
we see in code in function this.init = function() that its properties
are changed via array construction eg:
for (p in this.img) {
this.img[p] = this.path + this.img[p];
}
, but it is not all - when we read the code more we will see that
properties of img object is read via standard way eg:
this.img.nodeEn d;

Furthermore i have seen on other scripts that other author scripters
used this array convention to object/method/property detection
purposes and even for calling a method so it looked like: obj[p](i , j
, o) (where obj was document object and p was "addEventListen er"...).
My question is when it is permitted to use this convention and how it
relates to ECMAScript... and most of all how browsers support this
convention and when i can use it ? Especially does i have to put my
properties around double quotes like this:
this.img = {
"branch": "tree-branch.gif",
...
, and can i use this array convention when i create object like this
(whitout double quotes, like presented in your book):
this.img = {
branch: "tree-branch.gif",
...

My last question to this topic is does it have realtion to
ECMAScript[[isPropertyEnume rable]], so when i create object with
properties in quotes it is enumerable in for-in and without double
quote it isnt ?
As my comment for this that it is messy, becouse it is hard to find
does object is an true Array or other object. Another missleading is
that i know when you do:
var a = new Array();
a["src"] = '/my.gif';
and then,
a.src = 'my2.gif';
, then will i have two diffrent value one in a["src"] and one in a.src
(i thin not).
Please help, becouse it is really confusing me.

2. Some things related to js shortcuts:
In constructor like:
function Constr(a , b , c) {
this.a = a || "myVal";
....
}
the notation
this.a = a || "myVal";
is quite natural, becouse it is bitwise OR and when a is not supplied
it is undefined and thus it has no value so this.a will be "myVal".
But i have seen also this:
this._c = this._c | 0;
, where _c was a counter. When _c is first called it is undefined and
the result will be false (this._c will be false). The this _c is used
as a counter like this._c ++; does it make sense ? Should it be like:
this._c = this._c || 0;
, to make values correct ?

3. When i create variable like:
var _c;
, does it have value of null ?

Thanks in advance for answer, waiting for quick reply
Lukasz(Luke) Matuszewski
"

I really would like to ready about this things, espacially to here
about the safest ways to doing OOP in JavaScript...

Sep 18 '05 #1
6 2342
Luke wrote:
Here is my emails to Danny Goodman ...
LOL
First email(simple): Subject: JavaScript Arrays
"
We all know the array can act like HashMap,
We all know that a native ECMAScript object can have arbitrarily named
properties added at runtime, and we know that an Array is a modified
native ECMAScript object and so has the characteristics of all native
ECMAScript objects including the ability to have arbitrarily named
properties added at runtime.

It is extremely questionable whether a standard ECMAScript Array can act
like a HashMap, as it is never strictly empty. And in so far as an
ECMAScript Array could be used as a HashMap the non-array plain Object
would be better suited to the task as it is more 'empty' to start with
than an array is.

HashMap functionality is more safely achieved with the creation of a
custom object. This assumes that the HashMap needs to be able to safely
handle any key name, rather than a known set of key names (a set that
can be known to be safe).
but is there a shortcut
for creating such array ? eg
//simple array indexed via numbers
var a = new Array("a", "fdsf", "sada");
or,
a["a", "fdsf", "sada"];
, bo how a to make it an HashMap ? maybe that:
a["key1":"a", "key2":"fds f", "key3":"sad a"]

As last we all know that it works for objects:
a = { "key1":"a", "key2":"fds f", "key3":"sad a"};
That doesn't make sense. It is object-ness that appear to be wanted,
rather than Array-ness, so an Object literal seems the appropriate
creation method, and an Object a preferable object to be using.
Second email: Subject: JavaScript advanced elements
"
Hi !
I am a student from Tech. Univ. Of Gdansk and I am sort
of advanced begginer :) in JavaScript and ECMAScript standards.
So you have read ECMA 262?

<snip> 1. Moder-browsers quick object construction like this:

function DynamicTree(id) {
...
this.img = {
"branch": "tree-branch.gif",
"doc": "tree-doc.gif",
"folder": "tree-folder.gif",
"folderOpen ": "tree-folder-open.gif",
"leaf": "tree-leaf.gif",
"leafEnd": "tree-leaf-end.gif",
"node": "tree-node.gif",
"nodeEnd": "tree-node-end.gif",
"nodeOpen": "tree-node-open.gif",
"nodeOpenEn d": "tree-node-open-end.gif" };
This object has no instance-related values so it would be better defined
on the - DynamicTree - prototype.
...
this.init = function() {
var p, img; .... };
This method is not using the fact that it is an inner function, so it
would be better defined as a property of the - DynamicTree - prototype.
...
this.nodeClick = function(id) { ... };
...
this.updateHtml = function() {
document.getEle mentById(this.i d).innerHTML = this.toHtml();
};
And the same applies to these two.
}
Here is my question: we see that this.img is an object,
but its properties are closed in quotes (eg "branch":
"tree-branch.gif").
The property names in Object literals must be quoted if they do not
conform with the ECMA production rules for an Identifier or a numeric
literal (though using numeric literals is not a good idea because of
bugs in Mac IE). Property names that do conform to the production rules
for Identifier may be quoted anyway. The nature of the property value
may influence its type. A quoted value will be a string literal, and so
a value of string primitive type.
Then we see in code in function this.init = function()
that its properties are changed via array construction eg:
for (p in this.img) {
this.img[p] = this.path + this.img[p];
}
There is no "array construction" here. You appear to be thinking that
the bracket notation property accessor is an Array accessing syntax
(like the Java array accessing syntax it resembles). It is not,
ECMAScript has no special Array accessing syntax: see ECMA 262, 3rd
edition; Section 11.2.1.
, but it is not all - when we read the code more we will
see that properties of img object is read via standard
way eg: this.img.nodeEn d;
A dot notation property accessor.
Furthermore i have seen on other scripts that other author
scripters used this array convention to object/method/property
detection purposes and even for calling a method so it looked
like: obj[p](i , j , o) (where obj was document object and p
was "addEventListen er"...).
<URL: http://www.jibbering.com/faq/#FAQ4_39 >
My question is when it is permitted to use this convention
In all circumstances where a dot notation property accessor may be used
an equivalent bracket notation property accessor can be used in its
place.

Dot notation property accessors require that the token following the dot
conform with the ECMAScript production rules for an Identifier. Bracket
notation places no restrictions on the character sequence that may be
used as a property names.
and how it relates to ECMAScript...
ECMA 262, 3rd edition; Section 11.2.1.
and most of all how browsers support this
convention and when i can use it ?
Bracket notation property accessors are a standard language feature
adopted from pre-existing javascript versions.
Especially does i have to put my
properties around double quotes like this:
this.img = {
"branch": "tree-branch.gif",
If "branch" did not conform with the rules for Identifier (which it
does) then it would need to be quoted.
...
, and can i use this array convention when i create object like this
(whitout double quotes, like presented in your book):
this.img = {
branch: "tree-branch.gif",

If "branch" conforms with the rules for Identifier (which it does) then
it need not be quoted.
My last question to this topic is does it have realtion
to ECMAScript[[isPropertyEnume rable]], so when i create
object with properties in quotes it is enumerable in
for-in and without double quote it isnt ?
It makes no difference, the property should be enumerable.
As my comment for this that it is messy, becouse it is
hard to find does object is an true Array or other object.
An array is a specialised object, and property accessors are about
accessing the properties of object. Bracket notation property accessors
are used when accessing numerically indexes properties of an Array
because the string representation of an integer does not conform to the
production rules for an Identifier.
Another missleading is
that i know when you do:
var a = new Array();
a["src"] = '/my.gif';
and then,
a.src = 'my2.gif';, then will i have two diffrent
value one in a["src"] and one in a.src
(i thin not).
That is too garbled to convey meaning.
Please help, becouse it is really confusing me.

2. Some things related to js shortcuts:
In constructor like:
function Constr(a , b , c) {
this.a = a || "myVal";
...
}
the notation
this.a = a || "myVal";
is quite natural, becouse it is bitwise OR
It is _logical_ OR, bitwise is a very different creature.
and when a is not supplied it is undefined and thus
it has no value so this.a will be "myVal".
But i have seen also this:
this._c = this._c | 0;
That is bitwise OR.
, where _c was a counter. When _c is first called it is
undefined and the result will be false (this._c will be false).
No, all bitwise operations have numeric results.
The this _c is used as a counter like this._c ++; does
it make sense ?
Broadly. If the original this._c may be undefined then the bitwise
operation grantees that it is numeric and not NaN. It would be more
normal to explicitly initialise the value of a coutner.
Should it be like:
this._c = this._c || 0;
, to make values correct ?
No, in most contexts it would make no difference, but if this._c may be
a string value that did not represent a number, or an object or function
reference then subsequent post increment operations would result in NaN.
3. When i create variable like:
var _c;
, does it have value of null ?
The value of a local variable is initialised to the Undefined value: see
ECMA 262, 3rd edition; Section 10.1.3.

<snip> I really would like to ready about this things,
espacially to here about the safest ways to doing OOP in
JavaScript...


Read the group-'s FAQ:-

<URL: http://www.jibbering.com/faq >

- then ask questions here (and please, if you have any javascript books
by Danny Goodman burn them now).

Richard.
Sep 18 '05 #2
Richard Cornford wrote:
Luke wrote:
[...]
As my comment for this that it is messy, becouse it is
hard to find does object is an true Array or other object.

An array is a specialised object, and property accessors are about
accessing the properties of object. Bracket notation property accessors
are used when accessing numerically indexes properties of an Array
because the string representation of an integer does not conform to the
production rules for an Identifier.

If the question here is how to determine if an object is an Array, the
following may help:
var a = [1, 2, 3];

if (('object' == typeof a) && (Array == a.constructor)) {
// a is an array object
}
[...]
--
Rob
Sep 19 '05 #3
> First email(simple): Subject: JavaScript Arrays
"
We all know the array can act like HashMap, but is there a shortcut
for creating such array ? eg
//simple array indexed via numbers
var a = new Array("a", "fdsf", "sada");
or,
a["a", "fdsf", "sada"];
, bo how a to make it an HashMap ? maybe that:
a["key1":"a", "key2":"fds f", "key3":"sad a"]

As last we all know that it works for objects:
a = { "key1":"a", "key2":"fds f", "key3":"sad a"};


We all know that you are confused about the difference between Objects
and Arrays. I recommend that you read
http://www.crockford.com/javascript/survey.html
Sep 19 '05 #4

Richard Cornford napisal(a):
Array could be used as a HashMap the non-array plain Object
would be better suited to the task as it is more 'empty' to start with
than an array is.
True... (there are also things related with prototype properties, so
plain Object is more 'empty'...)

HashMap functionality is more safely achieved with the creation of a
custom object. This assumes that the HashMap needs to be able to safely
handle any key name, rather than a known set of key names (a set that
can be known to be safe).
but is there a shortcut
for creating such array ? eg
//simple array indexed via numbers
var a = new Array("a", "fdsf", "sada");
or,
a["a", "fdsf", "sada"];
, bo how a to make it an HashMap ? maybe that:
a["key1":"a", "key2":"fds f", "key3":"sad a"]

As last we all know that it works for objects:
a = { "key1":"a", "key2":"fds f", "key3":"sad a"};
That doesn't make sense. It is object-ness that appear to be wanted,
rather than Array-ness, so an Object literal seems the appropriate
creation method, and an Object a preferable object to be using.


Well it clears many things to me now.
Second email: Subject: JavaScript advanced elements
"
Hi !
I am a student from Tech. Univ. Of Gdansk and I am sort
of advanced begginer :) in JavaScript and ECMAScript standards.


So you have read ECMA 262?


I have only used parts of it, and i haven't read about [ ] (brackets)
notation of getting object properties, methods etc.
I am working on javadoc version of web browsers objects and methods, to
help me with my everyday work(so i created java version of javadocs
that corresponds to javascript, eg. in ecma262 package i have created
built-in objects ECMA specifies with its methods and related things, in
jsabo(javascrip t and browser objects) i have started documenting
objects/methods supported in variuos browsers). I have nearly ended
documenting ecma262 (and saw the E4X specs, so added the ecma357
package).
I am using the danny goodman book to document this methdos...
documenting it is really 'fast' if you are using eclipse and you add
some your own templates. And of course i don't do it for nothing or my
pleasure :)...
Maybe i will put it in my website to make it open but first i must end
some importand fragments of it.

PS this DynamicTree script is not my, but i was desperated to copy it
here. Sorry for 'spam', but Danny Goodman book treats on oop very
little.
There is no "array construction" here. You appear to be thinking that
the bracket notation property accessor is an Array accessing syntax
(like the Java array accessing syntax it resembles). It is not,
ECMAScript has no special Array accessing syntax: see ECMA 262, 3rd
edition; Section 11.2.1. yeap i was looking on javascript like on java language, my mistake :(

<URL: http://www.jibbering.com/faq/#FAQ4_39 >

Thanks i will read all faqs on http://www.jibbering.com/faq/ before
asking question here...
My question is when it is permitted to use this convention


In all circumstances where a dot notation property accessor may be used
an equivalent bracket notation property accessor can be used in its
place.

Yes it is stated in Section 11.2.1.

Bracket notation property accessors are a standard language feature
adopted from pre-existing javascript versions. Yeap, here i see that EL language in JSP 2.0 or JSTL 1.0 also uses that
notation. That really clears my thoughts :)
My last question to this topic is does it have realtion
to ECMAScript[[isPropertyEnume rable]], so when i create
object with properties in quotes it is enumerable in
for-in and without double quote it isnt ?
It makes no difference, the property should be enumerable.


Another thing cleared.
As my comment for this that it is messy, becouse it is
hard to find does object is an true Array or other object.
An array is a specialised object, and property accessors are about
accessing the properties of object. Bracket notation property accessors
are used when accessing numerically indexes properties of an Array
because the string representation of an integer does not conform to the
production rules for an Identifier.


15.4 of ECMAScpritp 3rd ed. states that:
"Array objects give special treatment to a certain class of property
names. A property name P (in the form of
a string value) is an array index if and only if ToString(ToUint 32(P))
is equal to P and ToUint32(P) is not
equal to 232-1.", so only for arrays it is permitted to use the
integer values in brackets as it is an array index.
Another missleading is
that i know when you do:
var a = new Array();
a["src"] = '/my.gif';
and then,
a.src = 'my2.gif';, then will i have two diffrent
value one in a["src"] and one in a.src
(i thin not).


That is too garbled to convey meaning.


, so afeter your explanations i think that a.src and a["src"] has the
same value...(becous e a["src"] means the same as a.src)...
differences come when you use a[0] and a.0 (which i think is not a
valid Identifier).
Please help, becouse it is really confusing me.

2. Some things related to js shortcuts:
In constructor like:
function Constr(a , b , c) {
this.a = a || "myVal";
...
}
the notation
this.a = a || "myVal";
is quite natural, becouse it is bitwise OR
It is _logical_ OR, bitwise is a very different creature.


sorry, it is my mistake...
&
|
ant other are bitwise...
and
&&
||
are logical :( (probably i was tired when i was writting this, and i
have only remebered that i have to write about bitwise and logical...
but i not read it twice)
and when a is not supplied it is undefined and thus
it has no value so this.a will be "myVal".
But i have seen also this:
this._c = this._c | 0;
That is bitwise OR.
, where _c was a counter. When _c is first called it is
undefined and the result will be false (this._c will be false).


No, all bitwise operations have numeric results.


Yes i know....no comment for my mistake :(
The this _c is used as a counter like this._c ++; does
it make sense ?
Broadly. If the original this._c may be undefined then the bitwise
operation grantees that it is numeric and not NaN. It would be more
normal to explicitly initialise the value of a coutner.
Should it be like:
this._c = this._c || 0;
, to make values correct ?


No, in most contexts it would make no difference, but if this._c may be
a string value that did not represent a number, or an object or function
reference then subsequent post increment operations would result in NaN.

That is another thing that i didn't knew.
Read the group-'s FAQ:-

<URL: http://www.jibbering.com/faq >

- then ask questions here (and please, if you have any javascript books
by Danny Goodman burn them now).
This post looks like spam most of becouse of my bugs (logical/bitwise
ops. like ||,&&/&,|)...
Richard.


Thanks for this quick answer...but i will not throw away the dannys
book beacouse it has docs for methods supported in different
browsers...
or i will throw it away if you know better source of such
cross-reference of methods/objects in various browsers...
Luke.

Sep 19 '05 #5
"Luke" <ma************ ****@gmail.com> writes:
15.4 of ECMAScpritp 3rd ed. states that: .... so only for arrays it is permitted to use the integer values in
brackets as it is an array index.
No, it's allowed for all objects. Only for arrays it means something
special - that the property is an array element, and assigning to it
might change the length property of the array.

Using the square-bracket notation, any value can be used to get the
property name. If the value is not a string, it is first converted
to a string. Number values convert to string representations of
themselves in the form expected by the array [[Put]] operation, so
they work as array element indices as well.

Example:
---
var o = {};
o[42] = true;
o[null] = true;
o[undefined] = true;
o[false] = true;
var arr = [1,2,3];
o[arr] = true;

alert([o["42"], o["null"], o["undefined"], o["false"], o["l,2,3"]]);
---
....
differences come when you use a[0] and a.0 (which i think is not a
valid Identifier).


Correct. Dot-notation can only be used if the property name is also
a javascript identifier (i.e., starts with [A-Za-z$_] and continues
with [A-Za-z0-9_$]).

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
Sep 19 '05 #6
Luke wrote:
Richard Cornford napisal(a): <snip>
- then ask questions here (and please, if you have
any javascript books by Danny Goodman burn them now).

<snip> Thanks for this quick answer...but i will not throw away
the dannys book
I said burn it not throw it away. If you throw it away it may come into
someone else's possession and curse them in turn.
beacouse it has docs for methods supported in different
browsers...
or i will throw it away if you know better source of such
cross-reference of methods/objects in various browsers...


My research has identified approximately 6000 distinct property names
belonging to host objects in web browsers, about 2000 refer to objects.
You will not find a single reference to all of these, indeed a fair
proportion do not appear to be (publicly) documented.

Richard.
Sep 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
8065
by: johnny | last post by:
hello. in C++, you can fake a sub-array by passing something like (array + int). If this was passed to something that takes an array as a parameter, the function will deal with the array using the int as the starting value. for example.... if we have some function with the declaration void someFunctionOnSomeArray(int a)
15
2288
by: Ville Vainio | last post by:
Pythonic Nirvana - towards a true Object Oriented Environment ============================================================= IPython (by Francois Pinard) recently (next release - changes are still in CVS) got the basic abilities of a system shell (like bash). Actually, using it as a shell is rather comfortable. This all made me think... Why do we write simple scripts to do simple things? Why do we serialize data to flat text files in...
13
1685
by: ajikoe | last post by:
Hi, How do I know type of simple object is tuple or list or integer, for example my function should understand what is the object type passed in its argument Pujo
2
1848
by: Kenneth McDonald | last post by:
I'd like to propose a new PEP , for a standard library module that deals with files and file paths in an object oriented manner. I believe this module should be included as part of the standard Python distribution. Background ========== Some time ago, I wrote such a module for myself, and have found it extremely useful. Recently, I found a reference to a similar module, http://www.jorendorff.com/articles/python/path/ by Jeff Orendorff.
20
4722
by: Pavel Stehule | last post by:
Hello, Is possible merge two arrays like array + array => array select array_append(array, array); ERROR: function array_append(integer, integer) does not exist
1
3938
by: Patrick | last post by:
Hi all, New to .NET, I'm working on an Winforms client application using VS 2005 beta2. My needs considering data storage are the followings: (1) Small files (0 < length < 10 mb), containing lots of small 'objects' that need to be loaded into memory at runtime, in order to garantee small access time to each 'object'. Each of these 'objects' collection should be able to easily bind to a DataGridView, AND to provide *filtering* and...
1
17603
by: Roy Gourgi | last post by:
Hi, I am new to C#. I am trying to create some variables and arrays that can be seen throughtout the whole program. I have no choice as they have to be seen by the whole program. Where and how do I declare them? I tried putting the variable gnSum and gaArray in my Main() method but the rest of the program does not see them. class RefValTest {
46
3031
by: ajba74 | last post by:
Hi fellows, I am reading some books to learn the C programming language, and sometimes I have the feeling that when somebody becomes a C expert, he must learn a more modern and object-oriented language. When I read things like "... C++ is an evolution of C ..." or "... C is a subset of C++ ..." I tend to believe that I will have to learn C+ + sooner or later. It sounds like C++ is the future and C is the past (and will be no longer...
62
4365
by: Laurent Deniau | last post by:
I just put the draft of my paper on the web: http://cern.ch/laurent.deniau/html/cos-oopsla07-draft.pdf I would be interested by any feedback from C programmers (with little OO knowledge) to improve the paper quality, even if I don't know yet if the paper will be accepted. It is not intended to be a manual nor an introduction to OOP. Just to mention it (not in the paper), my programming background is 10+ years of C/C++.
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10148
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10091
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3646
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.