Example #1
0
def deploy():
    db.drop_all()
    db.create_all()
    harrywang = Professor(name='Harry Wang', department='MIS')
    andreaeverard = Professor(name='Andrea Everard', department='MIS')
    course1 = Course(title='Management of Information Systems', number='MISY427', description="Explores practical applications of information technology in all aspects of management including organizational behavior, human resource management, international management and strategic decision making. Issues of managing emerging technologies, integrating technologies with people, organizational culture and structure and strategic decision making will be discussed.", professor=andreaeverard)
    course2 = Course(title='Business Application Development II', number='MISY350', description="Covers concepts related to client side development, including cascading style sheets and JavaScript.",professor=harrywang)
    course3 = Course(title='MIS Project Management', number='MISY431',description="Students learn project management techniques, and working in teams, apply this knowledge by developing technology-based business solutions for various enterprises.",professor=andreaeverard)
    db.session.add(harrywang)
    db.session.add(andreaeverard)
    db.session.add(course1)
    db.session.add(course2)
    db.session.add(course3)
    db.session.commit()
Example #2
0
def deploy():
    db.drop_all()
    db.create_all()
    skip = Professor(name='Clinton White', department='Accounting & MIS')
    sharma = Professor(name='Pratyush Nidhi Sharma',
                       department='Accounting & MIS')
    bambach = Professor(name='Mark Bambach',
                        department='Business Administration')
    anu = Professor(name='Anu Sivvaraman',
                    department='Business Administration')
    course1 = Course(
        course_number='MISY430',
        title='Systems Analysis',
        description=
        'Covers the challenges of developing and managing systems analysis and design projects. Students learn to determine systems requirements, analyze systems problems, model potential solutions and design and implement these solutions. Other current topics will be included to reflect the changing information systems environment'
    )
    course2 = Course(
        course_number='MISY 330',
        title='Database Design & Implementation',
        description=
        'Covers the design and implementation of enterprise databases in the business environment. A networked setting and its effect on database management will be emphasized'
    )
    course3 = Course(
        course_number='BUAD 301',
        title='Introduction to Marketing',
        description=
        'Management of the marketing functions, marketing research, product planning, distribution channels, pricing, personal selling, and advertising. Emphasis on consumer and industrial markets'
    )
    course4 = Course(
        course_number='MISY 302',
        title='Market Research',
        description=
        'Focuses on the marketing research process as an aid in marketing decision making. Defining marketing problems, identifying marketing information needs, developing methods to gather information, and applying research results to marketing problems'
    )
    db.session.add(skip)
    db.session.add(sharma)
    db.session.add(bambach)
    db.session.add(anu)
    db.session.add(course1)
    db.session.add(course2)
    db.session.add(course3)
    db.session.add(course4)
    db.session.commit()
Example #3
0
def deploy():
    db.drop_all()
    db.create_all()
    Terry = Professor(name='Terry', department='Finance department')
    Harry = Professor(name='Harry', department='ACCT and MISY department')
    Richard = Professor(name='Richard', department='Finance Department')
    finc415 = Course(coursenumber='FINC415', title='International Finance', professor_id=1, description='Examines the international monetary environment and its impact on financial planning for the firm. Topics include exchange rates, currency restrictions, tax regulations, direct investment theory, capital budgeting, financing, risk management, and working capital management')
    misy350 = Course(coursenumber='MISY350', title='Business Application Development', professor_id=2, description='Covers concepts related to client side development, including cascading style sheets and JavaScript')
    finc311 = Course(coursenumber='FINC311', title='Principle of Finance', professor_id=3, description='Introduces fundamental techniques and concepts related to the financial management of business firms. Topics include the time value of money, valuation, capital budgeting, working capital management, cost of capital, capital structure analysis, short and long term financing')
    finc419 = Course(coursenumber='FINC419', title='Financial Modeling', professor_id=3, description='Applies economic principles and financial modeling techniques to value seasoned equity, initial public offerings, mergers, private equity transactions, and leveraged buyouts')
    db.session.add(Terry)
    db.session.add(Harry)
    db.session.add(Richard)
    db.session.add(finc415)
    db.session.add(misy350)
    db.session.add(finc311)
    db.session.add(finc419)
    db.session.commit()
    db.session.commit()
Example #4
0
def deploy():
    db.drop_all()
    db.create_all()
    hartono = Professor(name='Edward Hartono', dept='MIS')
    dragone = Professor(name='Debra Dragone', dept='Accounting')
    fang = Professor(name='Xiao Fang', dept='MIS')
    wang = Professor(name='Harry Wang', dept='MIS')
    MISY330 = Course(number='MISY330', title='Database Design and Implementation', desc='Covers the design and implementation of enterprise databases in the business environment. A networked setting and its effect on database management will be emphasized.', professor=fang)
    MISY350 = Course(number='MISY350', title='Business Application Development II', desc='Covers concepts related to client side development, including cascading style sheets and JavaScript.', professor=wang)
    MISY160 = Course(number='MISY160', title='Business Computing: Tools and Concepts', desc='Introduction to coputers" components and operations', professor=hartono)
    ACCT208 = Course(number='ACCT208', title='Accounting II', desc='Introduction to Managerial Accounting', professor=dragone)
    db.session.add(hartono)
    db.session.add(dragone)
    db.session.add(fang)
    db.session.add(wang)
    db.session.add(MISY330)
    db.session.add(MISY350)
    db.session.add(MISY160)
    db.session.add(ACCT208)
    db.session.commit()
Example #5
0
def deploy():
    db.drop_all()
    db.create_all()
    murphy = Professor(name='Susan B Murphy', department='Business')
    hampel = Professor(name='Richard Hampel', department='History')
    lynch = Professor(name='Christopher Lynch', department='Accounting & MIS')
    oberzytz = Professor(name='Lucy Oberzytz', department='Communications')
    course1 = Course(
        course_number='BUAD 306',
        title='Introduction to Operations Management',
        description=
        'Students will begin to explore the topics related to all operation fields in business.'
    )
    course2 = Course(
        course_number='EDUC 247',
        title='History of Educaiton in America',
        description=
        'Students will explore the history of the educational system in the US.'
    )
    course3 = Course(
        course_number='FINC 311',
        title='Introduction Finance',
        description=
        'Students will learn how to use and understand basic financial statements.'
    )
    course4 = Course(
        course_number='COMM 212',
        title='Introduction to Communications',
        description=
        'Students will practice writing and presenting speeches while learning the basic elements of delivering effective speeches'
    )
    db.session.add(murphy)
    db.session.add(hampel)
    db.session.add(lynch)
    db.session.add(oberzytz)
    db.session.add(course1)
    db.session.add(course2)
    db.session.add(course3)
    db.session.add(course4)
    db.session.commit()
Example #6
0
def deploy():
    db.drop_all()
    db.create_all()
    sivaraman = Professor(name='Anuradha Sivaraman',
                          department='Business and Economics')
    sharma = Professor(name='Pratyush Nidhi Sharma',
                       department='Accounting & MIS')
    detwiler = Professor(name='Timothy Detwiler',
                         department='Business and Economics')
    wang = Professor(name='Jiannan Wang', department='Accounting & MIS')
    course1 = Course(
        course_number='BUAD 301',
        title='Introduction to Marketing',
        description=
        'Examines individual, group, and organizational determinants of work behavior in organizations.'
    )
    course2 = Course(
        course_number='MISY 330',
        title='Database Design & Implementation',
        description='Learning data mining alogorithms and the SQL language.')
    course3 = Course(
        course_number='FINC 312',
        title='Intermediate Financial Management',
        description=
        'Focuses on the role of the corporate financial manager in shareholder wealth maximization.'
    )
    course4 = Course(
        course_number='MISY 350',
        title='Web Application Development',
        description=
        'Fundamentals of web development, including Python and Flask.')
    db.session.add(sivaraman)
    db.session.add(sharma)
    db.session.add(detwiler)
    db.session.add(wang)
    db.session.add(course1)
    db.session.add(course2)
    db.session.add(course3)
    db.session.add(course4)
    db.session.commit()
Example #7
0
def deploy():
    db.drop_all()
    db.create_all()
    professor1 = Professor(name='Wang,Jiannan', department='MISY')
    professor2 = Professor(name='Sharma,Pratyush Nidhi', department='MISY')
    professor3 = Professor(name='White,Matthew N', department='ECON')
    professor4 = Professor(name='Spotts,Robert Earl', department='MISY')
    course1 = Course(
        number="MISY330",
        title='Database Design and Implementation',
        description=
        'Covers the design and implementation of enterprise databases in the business environment. A networked setting and its effect on database management will be emphasized',
        professor=professor2)
    course2 = Course(
        number="MISY350",
        title='Business Application Development II',
        description=
        'Covers concepts related to client side development, including cascading style sheets and JavaScript.',
        professor=professor1)
    course3 = Course(
        number="ECON301",
        title='Quantitative Microeconomic Theory',
        description=
        'Uses calculus to study price determination and income distribution in a market economy; and the behavior of firms and industry under conditions of pure and imperfect competition.',
        professor=professor3)
    course4 = Course(
        number="MISY225",
        title='Introduction to Programming Business Applications',
        description=
        'Use of higher level contemporary computing languages to structure Prototyping applications of systems.',
        professor=professor4)
    db.session.add(professor1)
    db.session.add(professor2)
    db.session.add(professor3)
    db.session.add(professor4)
    db.session.add(course1)
    db.session.add(course2)
    db.session.add(course3)
    db.session.add(course4)
    db.session.commit()
Example #8
0
def deploy():
    db.drop_all()
    db.create_all()
    professor1 = Professor(name='Jiang,Hao', department='ECON')
    professor2 = Professor(name='Sharma,Pratyush Nidhi', department='MISY')
    professor3 = Professor(name='Alisha', department='NTDT')
    professor4 = Professor(name='Cox', department='Art')
    course1 = Course(
        number="MISY330",
        title='Database Design and Implementation',
        description=
        'Design and implementation of enterprise databases in the business environment',
        professor=professor2)
    course2 = Course(
        number="ECON308",
        title='Banking and Monetary Policy',
        description=
        'Nature and economic significance of money, credit and the banking system',
        professor=professor1)
    course3 = Course(
        number="NTDT200",
        title='Nutrition Concepts',
        description=
        'Functions and sources of nutrients, dietary adequacy, energy balance and metabolism with emphasis on health promotion',
        professor=professor3)
    course4 = Course(
        number="ART180",
        title='Digital Photography ',
        description=
        'Introduces the basics of photography as a way to communicate ideas emphasizing content, composition, and technique',
        professor=professor4)
    db.session.add(professor1)
    db.session.add(professor2)
    db.session.add(professor3)
    db.session.add(professor4)
    db.session.add(course1)
    db.session.add(course2)
    db.session.add(course3)
    db.session.add(course4)
    db.session.commit()
Example #9
0
def deploy():
    db.drop_all()
    db.create_all()
    jackson = Professor(name='Vincent E. Jackson II',
                        department='Accounting & MIS')
    sharma = Professor(name='Pratyush Nidhi Sharma',
                       department='Accounting & MIS')
    lynch = Professor(name='Thomas Gregory Lynch',
                      department='Computer & Information Sciences')
    wang = Professor(name='Jiannan Wang', department='Accounting & MIS')
    course1 = Course(course_number='MISY 225',
                     title='Introduction to Programming Business Applications',
                     description='Learning to program in Java.',
                     professor=jackson)
    course2 = Course(
        course_number='MISY 330',
        title='Database Design & Implementation',
        description='Learning data mining alogorithms and the SQL language.',
        professor=sharma)
    course3 = Course(
        course_number='CISC 355',
        title='Computers, Ethics & Society',
        description='Analyzing the impact of computers on our society.',
        professor=lynch)
    course4 = Course(
        course_number='MISY 350',
        title='Web Application Development',
        description=
        'Fundamentals of web development, including Python and Flask.',
        professor=wang)
    db.session.add(jackson)
    db.session.add(sharma)
    db.session.add(lynch)
    db.session.add(wang)
    db.session.add(course1)
    db.session.add(course2)
    db.session.add(course3)
    db.session.add(course4)
    db.session.commit()
Example #10
0
def deploy():
    db.drop_all()
    db.create_all()
    wang = Professor(name='Jiannan Wang', department='Accounting & MIS')
    dragone = Professor(name='Debra Sue Gassner Dragone',
                        department='Accounting & MIS')
    lynch = Professor(name='Christopher Michael Lynch', department='Finance')
    serva = Professor(name='Mark A. Serva', department='Accounting & MIS')
    course1 = Course(
        course_number='MISY 350',
        title='Web Application Development',
        description=
        'Covers concepts related to client side development, including cascading style sheets and JavaScript.'
    )
    course2 = Course(course_number='ACCT 208',
                     title='Accounting II',
                     description=' Introduction to managerial accounting.')
    course3 = Course(
        course_number='FINC 311',
        title='Principles of Finance',
        description=
        'Introduces fundamental techniques and concepts related to the financial management of business firms.'
    )
    course4 = Course(
        course_number='MISY 330',
        title='Database Design & Implementation',
        description=
        'Covers the design and implementation of enterprise databases in the business environment.'
    )
    db.session.add(wang)
    db.session.add(dragone)
    db.session.add(lynch)
    db.session.add(serva)
    db.session.add(course1)
    db.session.add(course2)
    db.session.add(course3)
    db.session.add(course4)
    db.session.commit()
Example #11
0
def deploy():
    db.drop_all()
    db.create_all()
    White = Professor(name='White', department='MISY')
    Gillespie = Professor(name='Gillespie', department='ACCT')
    Wang = Professor(name='Wang', department='MISY')
    MISY430 = Course(
        title='Systems Analysis and Implementation',
        number=430,
        description=
        'Covers the challenges of developing and managing systems analysis and design projects.',
        professor=White)
    ACCT425 = Course(
        title='Strategic Information Systems and Accounting',
        number=425,
        description=
        'Explores the role of accounting and information systems in accomplishing the strategic goals of the corporation.',
        professor=White)
    ACCT327 = Course(
        title='Cost Accounting',
        number=327,
        description=
        'Process, job order and standard costing; variable and absorption costing; budgeting, decentralization, and transfer pricing; and cost analysis for managerial applications.',
        professor=Gillespie)
    MISY350 = Course(
        title='Business Application Development II',
        number=350,
        description=
        'Covers concepts related to client side development, including cascading style sheets and JavaScript.',
        professor=Wang)
    db.session.add(White)
    db.session.add(Gillespie)
    db.session.add(Wang)
    db.session.add(MISY430)
    db.session.add(ACCT425)
    db.session.add(ACCT327)
    db.session.add(MISY350)
    db.session.commit()