Category: Code . Programming Samples . প্রোগ্রাম উদাহরন

Code . Programming Samples . প্রোগ্রাম উদাহরন

PHP Topics to Learn

Identifiers https://docstore.mik.ua/orelly/webprog/php/ch02_01.htm#:~:text=An%20identifier%20is%20simply%20a,ASCII%200x7F%20and%20ASCII%200xFF. PHP Data Types https://www.odinschool.com/learning-hub/php/datatypes Type Hinting https://www.honeybadger.io/blog/php-type-hinting/#:~:text=Type%2Dhinting%20means%20explicitly%20stating,to%20write%20more%20robust%20code. PDO and MySQL https://www.w3schools.com/php/php_mysql_connect.asp PHP OOP https://www.w3schools.com/php/php_oop_what_is.asp abstract classes https://www.w3schools.com/php/php_oop_classes_abstract.asp Abstract vs Interface https://www.w3schools.com/php/php_oop_interfaces.asp#:~:text=PHP%20%2D%20Interfaces%20vs.%20Abstract%20Classes&text=Interfaces%20cannot%20have%20properties%2C%20while,abstract%20keyword%20is%20not%20necessary , methods, interfaces, and inheritance Pillars of OOP The Four pillars of OOPs, abstraction, encapsulation, inheritance, and polymorphism, are integral to understanding and using OOP https://datatrained.com/post/four-pillars-of-oops/#:~:text=The%20Four%20pillars%20of%20OOPs%2C%20abstraction%2C%20encapsulation%2C%20inheritance%2C,to%20understanding%20and%20using%20OOP. Four Pillars with Examples: https://www.geeksforgeeks.org/four-main-object-oriented-programming-concepts-of-java/ Magic …

Continue reading

Python and MongoDB Operations. Code Example

#!/usr/bin/env python# coding: utf-8# In[63]: import pymongo; # In[64]: import pymongomyclient = pymongo.MongoClient(“mongodb://localhost:27017/”)mydb = myclient[“mydatabase”] # In[65]: # Check if database exist # In[66]: print(myclient.list_database_names()) # In[67]: dblist = myclient.list_database_names()if “mydatabase” in dblist:  print(“The database exists.”) # In[68]: # Create a collection # In[69]: import pymongomyclient = pymongo.MongoClient(“mongodb://localhost:27017/”)mydb = myclient[“mydatabase”]mycol = mydb[“customers”] # In[70]: #collection …

Continue reading

Python and MySQL Operations. Code Examples

#!/usr/bin/env python# coding: utf-8# In[1]: import mysql.connector # In[2]: # create a database connection # In[3]: import mysql.connectormydb = mysql.connector.connect(  host=”localhost”,  user=”root”,  password=””)print(mydb) # In[4]: import mysql.connectormydb = mysql.connector.connect(  host=”localhost”,  user=”root”,  password=””)mycursor = mydb.cursor()mycursor.execute(“drop DATABASE mydatabase”);mycursor.execute(“CREATE DATABASE mydatabase”); # In[5]: # check if database exists # In[6]: import mysql.connectormydb = mysql.connector.connect(  host=”localhost”,  user=”root”,  password=””)mycursor = …

Continue reading

Your first struts application #47

Check: http://www.coreservlets.com/Apache-Struts-Tutorial/Installing-Struts.html Spring: Struts to spring migration with Hibernate and Unit testing support: Start with equinox application from http://sourcebeat.com/downloads/ From: http://sitestree.com/?p=4912 Categories:47Tags: Post Data:2013-06-13 10:32:35 Shop Online: <a href=’https://www.ShopForSoul.com/’ target=’new’ rel=”noopener”>https://www.ShopForSoul.com/</a> (Big Data, Cloud, Security, Machine Learning): Courses: <a href=’http://Training.SitesTree.com’ target=’new’ rel=”noopener”> http://Training.SitesTree.com</a> In Bengali: <a href=’http://Bangla.SaLearningSchool.com’ target=’new’ rel=”noopener”>http://Bangla.SaLearningSchool.com</a> <a href=’http://SitesTree.com’ target=’new’ rel=”noopener”>http://SitesTree.com</a> 8112223 Canada …

Continue reading

A good resource for learning Struts #47

http://courses.coreservlets.com/Course-Materials/struts.html#Struts-Intro Download Jakarta struts from: http://apache.mirror.rafal.ca/struts/binaries/ Related downloads: http://apache.mirror.rafal.ca/ From: http://sitestree.com/?p=4960 Categories:47Tags: Post Data:2006-08-04 21:50:24 Shop Online: <a href=’https://www.ShopForSoul.com/’ target=’new’ rel=”noopener”>https://www.ShopForSoul.com/</a> (Big Data, Cloud, Security, Machine Learning): Courses: <a href=’http://Training.SitesTree.com’ target=’new’ rel=”noopener”> http://Training.SitesTree.com</a> In Bengali: <a href=’http://Bangla.SaLearningSchool.com’ target=’new’ rel=”noopener”>http://Bangla.SaLearningSchool.com</a> <a href=’http://SitesTree.com’ target=’new’ rel=”noopener”>http://SitesTree.com</a> 8112223 Canada Inc./JustEtc: <a href=’http://JustEtc.net’ target=’new’ rel=”noopener”>http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a> Shop Online: …

Continue reading

Struts: Application Development Approaches #47

Struts: Application Development Approaches Use Application Modules: Use multiple configuration files to facilitate parallel development in a team Secure JSP pages Use Dynamic Forms From: http://sitestree.com/?p=4825 Categories:47Tags: Post Data:2008-06-16 17:55:16 Shop Online: <a href=’https://www.ShopForSoul.com/’ target=’new’ rel=”noopener”>https://www.ShopForSoul.com/</a> (Big Data, Cloud, Security, Machine Learning): Courses: <a href=’http://Training.SitesTree.com’ target=’new’ rel=”noopener”> http://Training.SitesTree.com</a> In Bengali: <a href=’http://Bangla.SaLearningSchool.com’ target=’new’ rel=”noopener”>http://Bangla.SaLearningSchool.com</a> <a …

Continue reading

Struts: Radio Button : Form Bean:JSP #47

Once, I was having some issues with Struts: Radio Button : Form Bean:JSP. The following information helped me. You usually specify the name of the form/form-bean when you declare a form bean in your struts-config.xml file like: You can use a variable to point to this form using: extract specific properties: print them: From: http://sitestree.com/?p=4842 …

Continue reading

struts2 struts1 eclipse ant 2 #By Sayed Ahmed

From: http://sitestree.com/?p=2742 Categories:By Sayed AhmedTags: Post Data:2015-11-01 18:15:10 Shop Online: <a href=’https://www.ShopForSoul.com/’ target=’new’ rel=”noopener”>https://www.ShopForSoul.com/</a> (Big Data, Cloud, Security, Machine Learning): Courses: <a href=’http://Training.SitesTree.com’ target=’new’ rel=”noopener”> http://Training.SitesTree.com</a> In Bengali: <a href=’http://Bangla.SaLearningSchool.com’ target=’new’ rel=”noopener”>http://Bangla.SaLearningSchool.com</a> <a href=’http://SitesTree.com’ target=’new’ rel=”noopener”>http://SitesTree.com</a> 8112223 Canada Inc./JustEtc: <a href=’http://JustEtc.net’ target=’new’ rel=”noopener”>http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a> Shop Online: <a href=’https://www.ShopForSoul.com’> https://www.ShopForSoul.com/</a> Medium: <a href=’https://medium.com/@SayedAhmedCanada’ target=’new’ …

Continue reading

struts lesson 7 advanced struts actions #By Sayed Ahmed

From: http://sitestree.com/?p=2734 Categories:By Sayed AhmedTags: Post Data:2015-11-01 00:27:44 Shop Online: <a href=’https://www.ShopForSoul.com/’ target=’new’ rel=”noopener”>https://www.ShopForSoul.com/</a> (Big Data, Cloud, Security, Machine Learning): Courses: <a href=’http://Training.SitesTree.com’ target=’new’ rel=”noopener”> http://Training.SitesTree.com</a> In Bengali: <a href=’http://Bangla.SaLearningSchool.com’ target=’new’ rel=”noopener”>http://Bangla.SaLearningSchool.com</a> <a href=’http://SitesTree.com’ target=’new’ rel=”noopener”>http://SitesTree.com</a> 8112223 Canada Inc./JustEtc: <a href=’http://JustEtc.net’ target=’new’ rel=”noopener”>http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a> Shop Online: <a href=’https://www.ShopForSoul.com’> https://www.ShopForSoul.com/</a> Medium: <a href=’https://medium.com/@SayedAhmedCanada’ target=’new’ …

Continue reading

struts lesson 8 how to use properties file for internationalization and flexible message display #By Sayed Ahmed

From: http://sitestree.com/?p=2738 Categories:By Sayed AhmedTags: Post Data:2015-11-01 06:12:11 Shop Online: <a href=’https://www.ShopForSoul.com/’ target=’new’ rel=”noopener”>https://www.ShopForSoul.com/</a> (Big Data, Cloud, Security, Machine Learning): Courses: <a href=’http://Training.SitesTree.com’ target=’new’ rel=”noopener”> http://Training.SitesTree.com</a> In Bengali: <a href=’http://Bangla.SaLearningSchool.com’ target=’new’ rel=”noopener”>http://Bangla.SaLearningSchool.com</a> <a href=’http://SitesTree.com’ target=’new’ rel=”noopener”>http://SitesTree.com</a> 8112223 Canada Inc./JustEtc: <a href=’http://JustEtc.net’ target=’new’ rel=”noopener”>http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) </a> Shop Online: <a href=’https://www.ShopForSoul.com’> https://www.ShopForSoul.com/</a> Medium: <a href=’https://medium.com/@SayedAhmedCanada’ target=’new’ …

Continue reading