15 research outputs found

    Aspect oriented implementation of design patterns using metadata

    Get PDF
    Computer programming paradigms aim to provide better separation of concerns. Aspect oriented programming extends object oriented programming by managing crosscutting concerns using aspects. Two of the most important critics of aspect oriented programming are the “tyranny of the dominant signature” and lack of visibility of program's flow. Metadata, in form of Java annotations, is a solution to both problems. Design patterns are assumed as the general solutions for Object-Oriented matters. They assist in software complexity management and serve as a bridge among software designers as well. These properties have led the patterns to be introduced as a choice in order to prove new technologies. Successful implementations share a generic solution: the usage of annotation to configure and mark the participants, while the pattern's code is encapsulated in aspects. This loses the coupling between aspects and type signatures and between the code base and a specific AOP framework. Also, it increases the developer's awareness of the program's flow. In the present article, aspect oriented programming and design patterns are introduced and also taking the benefit of annotation equipment in java language is proposed as a solution to reduce tight coupling and increase program flow observation rate for aspect oriented programming. Keywords: aspect oriented programming, design patterns, object oriented programming, metadata

    Relationship between using cell phone and the risk of accident with motor vehicles: An analytical cross-sectional study

    Get PDF
    Purpose: Traffic accidents are one of the major health problems in the world, being the first cause of burden of illness and the second leading cause of death in Iran. The Sistan-Baluchestan province is one of the most accidental provinces of Iran with the highest rate of accidents-caused deaths. This study was conducted to determine the risk factors associated with traffic accidents in Zahedan through 2013 to 2016. Methods: This analytical cross-sectional study was carried out on 223 drivers from Zahedan who were traumatized by traffic accident and sent to Zahedan hospitals. The data were obtained through interviews taken by the trained interviewers via refereeing to the medical records and collected in the researcher-made checklist. Census was obtained from the study subjects. For data analysis, independent t-test, one-way ANOVA, Chi-square and logistic regression were used with the Stata software version 11.0. Results: In this study, 223 male subjects with the mean age of (32.54 ± 12.95) years, 39.8 single and 60.2 married, entered for investigation. Most accidents (38.8) occurred between 12:00 to 17:59. While driving, 47.1 of the study subjects were using cell phones, 89.1 had manual use of mobile phones, 21.9 had a habit of sending short message service (SMS) and 23.4 had sent SMS within 10 min before the accident. The one way analysis of variance showed that the mean age of individuals with marital status, driving experience, education and accident with motorcycle were significantly different (p < 0.05). Also, the multivariate logistic regression test indicated a significant relationship of smoking, ethnicity, insurance and SMS typing while driving with motorcycle accident (p < 0.05). Conclusion: In this study, SMS and smoking while driving had the highest risk among the variables studied in the motorcycle accidents. Therefore, effective education attempting to enhance people's awareness about the consequences of using cell phone and smoking during driving to reduce traffic accidents seems necessary. © 2020 Chinese Medical Associatio

    Rapid Detection of Pseudomonas Aeruginosa by PCR Method Using Specific Primers of Quorum Sensing LasI gene

    No full text
    Abstract Background & aim: Pseudomonas aeruginosa is an opportunistic nosocomial pathogen that due to having intrinsic and acquired resistance to common antibiotics, mortality due to infections is very common. Therefore, early and accurate identification of bacteria could be effective in controlling infections and deaths. The aim of this study was to evaluate the use of a rapid method with high sensitivity and specificity based on polymerase chain reaction using gene-specific primers quorum sensing LasI system for detection of bacteria. Methods: In this study, the comparison between the results of culture and PCR for the diagnosis of Pseudomonas aeruginosa in clinical samples and other bacterial species were carried out. 40 strains of Pseudomonas aeruginosa from isolated clinical specimens were identified and confirmed by biochemical tests. LasI gene specific primers were designed using bioinformatics analysis. Sequence of this gene was amplified techniques after extraction of bacterial genome. The specificity of PCR tests with DNA from of different species, Staphylococcus aureus, Klebsiella pneumonia, Escherichia coli and Vibrio cholerae were evaluated. A different dilution of the bacterial genome of Pseudomonas aeruginosa was used in PCR to evaluate the sensitivity of primer. Data were analyzed by t-test Results: The results indicated that the PCR test result was positive for all strains of P. aeruginosa isolates however, PCR test results were negative for the four other bacteria. Even at 10-5 Pseudomonas aeruginosa genome concentration, PCR test was positive for all isolated strains Conclusion: This study showed that the primers designed for detection of Pseudomonas aeruginosa using PCR, had higher sensitivity and specificity compared to previous methods. Keywords: Pseudomonas aeruginosa, PCR, Quorum sensing, Las
    corecore