Professional Documents
Culture Documents
Platform v4 Front Development
Platform v4 Front Development
central
snapshots internal
Technologi
es
• Html 5
• javascript
• Primefaces 11
• JSF 2.2
• Template Poseidon 4.1.0
• Java JDK 17 JS CSS
• css
• Spring 5
• Security J)spring
• Core
• JBoss EAP 7.4
• Version control - git
=
New Java SE Releases
Platform structure
V •m src
V •• main
••
v Ea mx.ipn.cenac.dsi. platform, core > Ea
config
V >1 resources
> •META-INE Tags and messages
v • mx.ipn.cenac.dsi.plataforma.core > • label
> • message
> log4j2.xml
V Blwebapp Websites
> • private Private -> Pages that require authentication
> • public
> •• resources
Public -> Pages that do not require authentication
> • cmp
> • platform-layout
> to poseidon-layout
> toWEB-INF
Unit tests
> to test
Module types
Module
withou
t BPM
Structure Without
• Elwebapp
Create F
screens and a
Managed Bean
RecordsMB.java for each
screen.
Create dialogs
Includ
e
https://www.primefaces.org/poseidon/
Unit tests
• The relevant unit tests must be carried out in the folder designated for
this purpose "test", use the same package structure (corresponding) as
the source code to be tested
• They must be java files in UpperCamelCase with Test suffix for example:
LoginTest.java
• JUnit (@Test) is used for unit testing.
Better practices
• Reuse code, avoid duplicate code
• Develop JSF components for common functions where relevant
• Follow Java development standards
• Do not use attributes in session
• Use apache logger
• Do not use System.out.println
• Do not use hard code
• Using BaseUtil.java Utilities
Version control
• Gitlab allows continuous integration and deployment
• Every time a merge request is accepted
• Continuous integration and deployment pipeline
http://dev.plataforma.ipn.mx:[PORT]/[MODULE]
Git GIT_Develop new functionality in Development
Flow start
'Do I have
project
Switch to branch Update branch
• Clone project < dev development site
loaded
git add.
git checkout -b [INITIALS]_devJFUNCTIONALITY] -
e: git checkout -b MAAM_dev_Login
Requirements
File of
Install Apache
Gitlab account properties for
maven
development
Install and
IntelliJ IDE with
Install JDK 17 configure git on
Command line
license for
education
Useful resources
• Poseidon Components (
https://www.primefaces.org/poseidon/ )
• Primefaces Official Documentation
•
https://www.primefaces.org/showcase/ui/input/input
Text.xhtml
• Tag Project
(primefacesposeidon/primefaces/poseidon-
3.0.0/tag)
• PrimefacesPoseidon
Code Project ID: 230
e acespose or
Ap)GitLab
reference
• Available in gitlab
• https://www.git.cenac.ipn.mx/malejo/pr
• Gitlab repository
•
mA ™
archive
https://www.git.cenac.ipn.mx
• Archiva artifact repository
• https://dev.plataforma.ipn.mx:8085/#welcome
Demo
Platform
version 4 -
Core
Doubts
and
(? Yo
Questions
Thanks for
,92
your
attention
EgE