-
Notifications
You must be signed in to change notification settings - Fork 1
/
ABOUT DOTWEB7.0
1873 lines (1093 loc) · 33.6 KB
/
ABOUT DOTWEB7.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
(UNIT-1)
=========
CHDOLLAR
=========
What is CHDOLLAR ?
=======================
CHDollar Programming Language is a modern technology consists of JAVA OOPS, C# OOPS,
Behave like CDOLLAR OOPS, GDOLLAR OOPS,used in Remote WebApplication , and Advanced
OOPs. It is invented by wilmix jemin j at GDollar P.L.
It is otherwise called as DOTWEB7.0.
It is mainly used as a Remote Webappilication.
It is used in case of Billing,Forms ,normal remotewebapplication ,
CH$-GRAPHICS ,and complex problems.
ABOUT CHDOLLAR Programming Language
---------------------------------------------------
It is concenterated in building and designing Advanced Operating systems.
CH$ is invented in GDollar in year 2008.
CH stands for GAMMA and dollar stands for money.
So we called as GAMMA Technology.
Merits of CH$
===============
> It is Good to create any compilers..and Advanced Operating systems and utilities.
> It has simpilified code
> it uses Pointers concept.
> CH$ also used with C@ and Arrow# in mobile and cloud computing.
> it is learnable ,easy to use, and let developers to focus only c++
or C# Programming Language
> CH$ also support CHDOLLARAJAX
> it can be used to execute .exe files.
Disadvantages
=============
> It is used to build normal remote webapplication
> absence of framework in CH$ .
CHDOLLAR has only 1 pillars which is present in SRGX and jittechsection1
a).CH$(simillar to Advanced OOPS with CUTIL and C++ combination) called as CWEB
accepting only .exe and .dll files.
SYNTAX FOR CHDOLLAR (.chdollar) (beautiful syntax)
---------------------------------------------------------------
<CHSAUCER>
@Remote // to load CHDollar packages
<PACK> <namecspacename> // pack will act like namespace
{
<CLASS> <Classname>
{
public void main()
{
<! CHDOLLAR LOGIC !>
}
}
}
</CHSAUCER>
note: This should be saved in filename.CH$
----
How Chdollar Technology Works? Or chdollar workflow? (EASY APPROACH than JSTAR)
======================================================================
At first Developers write a CH$ program and compile
using javac filename.CH$ it creates filename.CH$.exe file for that.
now execute the file at url as filename.CH$ when you run remoteserver
the .exe output is displayed in browser as a fast manner.
============================================================
How to run remoteserver in windows?
click on CHDOLLARSERVER located at CHDOLLAR folder.
note : default hostname is localhost or ip address.
==================================================================================
UNIT -2: a) CHDollar with CDollar
==================================================================================
CDOLLARARRAYS
CDollarArrays list1 = new CDollarArrays(string);
to add any collection objects to array use
add (String) functions and to Display those
objects use list1.Display();
Any class that use CDollarArrays you should extends Array in class...
TREEOFARRAY
SYNTAX for TreeofArray:
--------------------------------------
TreeArray <name> = new TreeArray(String);
<name>.add(elements);
where elements may be string or collections....
LISTOFARRAY
SYNTAX for List of Array:
--------------------------------------
LArray <name> = new LArray(string);
<name>.add(elements);
The elements may be string or collection elements.
Operators conditions and loops
--------------------------------------------------
Operators
---------
+ => ADD
++=> Increment
- => Substract
--=> Substract
* => Mulitply
/ = Division
~ => bitwise unary not operator
NOT (!) => flips true values to false and false values to true.
>>, >>>, and << => IT is used to shift all the bits of a number left
or right
a Specified number of places...
Other Operators
----------------
# => != operator
AND => && And operator
OR => || OR operator
?: => value =condition ? value1 : value2 (similar to if then else)
== => compare two values...
= => Assignment operators
Equals => Compare two objects
Relational Operators
--------------------
> >= => Greater than , Greater than equals.
< <= => Less than , Less than equal
= or != => Equals and not equals
CONDITIONS
----------
IF Syntax:
------------
if <condition> statements;
IF then else Syntax:
----------------------
if <condition> statements else statements1
if <condition> statements1 else if condition1 statement2 .... and soon.
SWITCH Statements:
-------------------
switch (expression)
{
case value1 :
statement1;
[break]
................
case valuen:
statementn;
[break]
-----
default:
default_statement;
}
Explanation:
------------
If the expression is equals value1
statement1 will be executed.
if you use break it comes out of the loop
otherwise it continue to execute next statement.
The default value at the end is optional. It can be included if there are other values that can be held in
your variable but that you haven't checked for elsewhere in the switch statement.
THE WHILE LOOP
-----------------------------
while (<condition> )
{
< Statements block>
}
Note: if the condition is true the block get executed.
otherwise the loop will be continued.
THE DO --- WHILE LOOP
-----------------------------
do
{
< Statements block>
}
while( <conditon> )
Note: if the condition is true the block get executed.
and it is tested at the end of the loop, but not at the
beginning. The loop will be continued until it satisfies the condition.
biggest reason to be use the do - while loop is that
when you need the body of the loop to be run atleast once.
FOR LOOP
--------
for ( identifier=value; cond1; iterator operators)
{
< Block statements >
}
For -EACH Statement
----------------------
for ( variable : collection)
statement;
for eg)
If you add integers (1 to 3) to arraylist
and if you wish to copy and store it in an integer variable
so that you can print the values that is copied from
arraylist.
Then follow this method of for each statements...
for ( int a in ar)
{
< Block statements >
}
Output:
-----------
value=1
value =2
value =3
CONTINUE and Break
---------------------------------
Break means it break out of loop
and continue means
it will continue to execute the statements;
for eg)
CHDOLLAR STRUCTURES
-----------------------------------
CHDollar structure is another user defined data type available in CDollar programming, which allows
you to combine data items of different kinds.
using the same memmory location. It also provide an efficient way of using the same
memory location for multi-purpose.
Thus CHDollar Structures is Equivalent = C progamming Structures and union.
and it uses less memmory capacity than any Programming languages. IT is also
used to store collections, object ,etc.
IT is the most important datastructure implemented by wilmix jemin j.
He reduces the demerits of C Programming and
Gdollar child is CHDollar. So CHDollar has very beautiful and Advanced Concepts
than any Programming Languages.
SYNTAX:
<STRUCTURE> <datatype> list = <NEW> <STRUCTURE> <datatype>(object);
list.add(object);
What is Pointers?
Variables that hold memory address are called pointers.
Why we mainly use Pointers?
Pointers reduces the length and complexity of the program,
They increase the execution speed.
It holds the memmory addres..
SYNTAX of CHDollar Pointers:
---------------------------------
{*}<<DATATYPE>> <pointer-name> Pointer<<DATATYPE>>(intialvalue);
for eg)
<Str> s ="Life is beautiful";
{*}<<Str>> l Pointer<<Str>>(s);
The given above statement will store the string "Life is beautiful"
in Pointer name l;
==============
BUCKET
-------
Bucket are used to store key,value data, and Generated Random number
where datatype may be string ,object ,etc.
SYNTAX:
----------
Bucket<DATATYPE> list = <NEW> Bucket<DATATYPE>(<DATATYPEVALUE>);
list.KeyAdd(<DATATYPEVALUE>);
list.add(<DATATYPEVALUE>);
list.RandomAdd();
list.Display(list);
Advantages
----------
Using Bucket you can also Retrieve the values stored n position.
Searching and Insertion is fast than other DTS.
Random Indexing is possible.
eg) If you store a duplicate value such Random key will be different.
It also used to add many values.
EXTEND
------
Extend class is used in CDollar since to provide multiple inheritence
about 100000000 classes . Extends class also list values in methods and
constructor values.
Extend means a Bucket contains List of class and it is also
Behave like Bucket. So it is also one of the Advanced concepts in CDollar.
SYNTAX:
--------
EXTEND <<DATATYPE>> list11 = <NEW> EXTEND <<DATATYPE>> (STRING);
list.KeyAdd(<DATATYPEVALUE>);
list.add(<DATATYPEVALUE>);
list.RandomAdd();
list.Display(list);
Advantages:
It is also used to add many values
Indexing is possible
Value can also be list by index and behave like bucket.
It list only the class value and object value.
It is stateless.
PIPE:
-----
PIPE is used to maintain stateful state.
It is used for DataFlow in a Program. We can also add the values,
Constructor values of one class and other class and display it.
It also list the values from the Bucket.
SYNTAX:
-------
Pipe <<DATATYPE>> list11 = <NEW> Pipe <<DATATYPE>> (STRING);
list.KeyAdd(<DATATYPEVALUE>);
list.add(<DATATYPEVALUE>);
list.RandomAdd();
list.Display(list);
Why we Prefer CDollar for software Field?
Used in BILLS, Forms ,Reports,Charts, any software project , GRAPHICS to web etc.
CHDollar ADvantages over JAVA and other Programming Languages
----------------------------------------------------------------------------------
A) CHDollar is the combination of C# , C/C++, and Advanced OOPS.
b) CHDollar will only accept the shortest attractive syntax.
c) CHDollar also used for construction of any datastructures.
d) it is easy to focus ,learn and use.
e) It also supports friendly function, pointers , and structures.
f) CHDollar support Virtual memmory and garbage collection.
g) It is efficient, fast and easy to understand, and it is a OOPS Technology.
h) CHDollar is a High level language.
i) CHDollar is highly portable language
j) Using CHDollar you can create any datastructures as libraries and
use it in your Application program.
k) CHDollar language is a structured and object programming language.
l) CHDollar has OOPS concepts like JAVA.
m) CHDollar have the concept of Packages,etc.
n) CHDollar have the concept of constructor or destructor and had magic oops concepts.
o) It Support functions with Default Arguments
q) It Supports Exception handling
r) It have pointer and Nodes..
s) CHDollar is much simpler oops concepts, which leads to faster development and less mental overhead.
t) CHDollar is almost always explicitly compiled
u) CHDollar is easy to learn. CHDollar was designed to be easy to use and is therefore easy to write,compile, debug, and learn than other programming languages.
CHDollar is object-oriented. This allows you to create modular programs and reusable code.
v) CHDollar creates .class, .exe or .dll files and it can be used with CHDollar main program.
w) CHDollar will compile and run at same time where other technology can't
do
x) CHDollar is mainly used in complex programming , Billing the
goods,Graphics,etc
y) CHDollar is used with OAKJAVA
z) CHDollar has Advanced OOPS like CDollar , and GDollar.
AA) CHDollar is an interactive Technology.
BB) CHDOLLAR is used as a remote webapplication
FAQS
------
A) A C /C++ Programmer or any oops developer or C# programmer
can easily study it....
========================================================================
UNIT -3 :CHDOLLAR Program Syntax AND ADVANCED CONCEPTS PROGRAM.
========================================================================
Syntax:
<CHDollar>
<PACK> <nAMESPACE>
<%
<CLASS> <CLASSNAME>
{
public FLOAT CHDollar-MAIN()
{
<! CHDOLLAR LOGIC!>
%>
?>
BAG
=====
Bag is the extension of LinkedHashmap and it is the fastest
datastructures than Dictionary.
SYNTAX:
=======
Bag object = new Bag();
object .put(key,value);
Functions
getValues(key) => it is used to get the values for a particular key
get(key,loc) => it is used to get the value stored at a loc (indexing
purpose)
boolean containsValue(object Value) => To check the value present in bag or
not.
put(key,value) => it is used to add key and value in Bag
remove(key ,value) => It is used to remove key and value.
TreeList
========
TreeList simillar to Bucket but store items in tree format.
TreeList list = new TreeList ("BUCKETS");
list.KeyAdd(KEY);
list.add(VALUE1);
list.RandomAdd(RANDOMNO);
list.DisplayO(list,0);
MASK
====
It is the extension of Tree Structure and it can store many values
using mask object and we can also retrieve the values stored in mask.
Mask m = new Mask(<DATATYPE>);
m.add(multiple values);
m.getR(Loc); => Get the values stored in right position
m.getL(LOC) => Get the values stored in left position
HEAP:
====
Creates a tree , puts the data into tree in a fairly balanced way and displays
the tree's size and data in a tree by performing an inorder traversal.
Heap hob = new Heap(<datatype>);
hob.add(datum);
hob = new Heap(key,value1,value2);
Bucktist
==========
Bucktist is similalr to Bucket but it is used to addd two values with one
key.
Bucktist l = null;
l= new Bucktist(key,value1,value2);
WICKET
=======
Wicket is used to store multiple values using same object with
4 values per key.
Syntax:
Wicket list12;
list12=new Wicket(key,v1,v2,v3,v4);
list12.Display();
list12.Display(list12,location);
EXAMPLE -1: BAG
<CHDollar>
<PACK> MyP
<%
<CLASS> Programs
{
public FLOAT CHDollar-MAIN()
{
Bag b <NEW> Bag();
b.PUT(1,34);
b.PUT(2,444);
<PRINTLN>(""+b);
%>
?>
EXAMPLE:2 : CHDOLARARRAYS
==========
<CHDollar>
<USE> CUTIL;
<PACK> MyP
{
<CLASS> Programs
{
public FLOAT CHDollar-MAIN()
{
<AList> ar <NEW> <AList> ();
for (int i=0;i<=100000;i++)
ar.add(i,i);
<CDOLLARARRAYS> list1 <NEW> <CDOLLARARRAYS>("ANIMALS ");
list1.add("1 horse");
list1.add("2 pig");
list1.add("3 cow");
list1.add("4 goat");
list1.add("5 chicken");
list1.add("6 ostrich");
list1.Display();
%>
?>
EXAMPLE-3: CREATE AN BOOTLOADER Using CHDOLLAR
<CHDollar>
<PACK> MYOS
{
<CLASS> MYOs
{
public FLOAT CHDollar-MAIN(){
<PRINTLN>("HelloWorld for booting MYOS");
%>
?>
EXAMPE-4: POINTERS
<CHDollar>
<PACK> MyP
{
<CLASS> Programs
{
public FLOAT CHDollar-MAIN()
{
<Str> s="dsdds";
{*} l Pointers (s);
l.add(s);
for (int i = 0; i NOT= l.size(); i = i + 1)
{
<OBJECT> obj=l.GETKEY(i);
<PRINTLN>(obj);
}
%>
?>
Example-6: EXTEND
<CHDollar>
<IMPORT>
<PACK> MyP
<%
<CLASS> Programs
<%
public FLOAT CHDollar-MAIN()
{
EXTEND list <NEW> EXTEND("BUCKETS");
list.KeyAdd("1101");
list.add("jemin");
list.RandomAdd();
list.Display(list);
<PRINTLN>(""+list.DisplayO(list,1));
%>
?>
EXAMPLE-7: HEAP
<CHDollar>
<PACK> MyP
{
<CLASS> Programs
{
public FLOAT CHDollar-MAIN()
{
Heap root <NEW> Heap("wilmix");
for (int i = 0; i <= 10; i = i + 1)
{
root.add("item " + i);
}
<PRINTLN>(root.size() );
root.printTree();
%>
?>
Example-8: LArray
<CHDollar>
<PACK> MyP
{
<CLASS> Programs
{
public FLOAT CHDollar-MAIN()
{
LArray root <NEW> LArray("root");
root.add("wilmix");
root.add("jemin");
root.add("shalom");
root.add("1010");
root.add("101");
root.add("201");
root.add("100000000");
//print the tree's size and contents
root.printTree();
%>
?>
Example-9 : PIPE
<CHDollar>
<PACK> MyP
{
<CLASS> Programs
{
public FLOAT CHDollar-MAIN()
{
Pipe list <NEW> Pipe("BUCKETS");
list.KeyAdd("1101");
list.add("jemin");
list.RandomAdd();
list.Display(list);
<PRINTLN>(""+list.DisplayO(list,1));
%>
?>
EXAMPLE-10: TREELIST
<CHDollar>
<PACK> MyP
{
<CLASS> Programs
{
public FLOAT CHDollar-MAIN()
{
TreeList list <NEW> TreeList ("BUCKETS");
list.KeyAdd("1101");
list.add("jemin");
list.RandomAdd("1111");
TreeList list2 <NEW> TreeList("BUCKETS");
list2.KeyAdd("1102");
list2.add("rahul");
list2.RandomAdd("1112");
<PRINTLN>("DATA="+list.DisplayO(list,0));
<PRINTLN>("DATA="+list2.DisplayO(list2,0));
%>
?>
Example-11 : MASK
<CHDollar>
<PACK> My
{
<CLASS> Programs
{
public FLOAT CHDollar-MAIN()
{
MASK root <NEW> MASK("wilmix");
for (int i = 0; i NOT= 10; i = i + 1)
{
root.add("item " + i);
}
root <NEW> MASK("root1",1211211,54441);
root <NEW> MASK("root2",121121,5444);
root <NEW> MASK("root5",99121888,"5");
root <NEW> MASK("root3",12112,544);
root <NEW> MASK("root4",1211,54);
root <NEW> MASK("root51",121,5);
root.printTree();
%>
?>
Example-12 : WICKET
<CHDollar>
<PACK> MyPo
{
<CLASS> Programs
{
public FLOAT CHDollar-MAIN()
{
Wicket list12;
list12 <NEW> Wicket(1000,10002,43433,4343,5555451);
list12 <NEW> Wicket(10001,100021,434331,4343,5555452);
list12 <NEW> Wicket(10002,100022,434332,4343,5555453);
list12 <NEW> Wicket(10003,100023,434333,4343,5555454);
list12 <NEW> Wicket(10004,100024,434334,4343,5555455);
list12 <NEW> Wicket(10005,100025,434335,4343,5555456);
list12.Display(list12);
<PRINTLN>("DATA="+list12.DisplayO(list12,0));
%>
?>
Example-13 : STRUCTURE
<CHDollar>
<PACK> MyPoi
{
<CLASS> Programs
{
public FLOAT CHDollar-MAIN()
{
<Str> s="dsdds";
{*} l Pointers(s);
l.add(s);
for (int i = 0; i NOT= l.size(); i = i + 1)
{
<OBJECT> obj=l.GETKEY(i);
<PRINTLN>(obj);
}
<STRUCTURE> list <NEW> <STRUCTURE> (l.GETKEY(0));
for (int i11 = 0; i11 NOT= list.size(); i11 = i11 + 1)
{
<OBJECT> el=list.ret(i11);
<PRINTLN>("SNO= "+el);
}
%>
?>
Example-14 : BUCKETIST
bucketist.java
<CHDollar>
<PACK> MyP
{
<CLASS> Programs
{
public FLOAT CHDollar-MAIN()
{
Bucketist bp <NEW> Bucketist("wilmix");
bp <NEW> Bucketist(1,222,434);
bp <NEW> Bucketist(1,222,434);
bp.Display(bp);
<PRINTLN>("DATA="+bp.DisplayO(bp,1));