Problem on NanoHttp cancelling button panel (sometimes)
[-] Check for single selection
Check navigation (check input on button action like 'open' without selecting an item. At the moment it will return to the last bean)
Styling (Collector, Details)
Show Progress-Page (using Statistics)
Html-Table:
[v] Sorting-Header
[v] Previous, Next
Style (of sorting header etc.)
up, down (for sorting values)
configure to have generated IDs
read documentation
Searches on big data:
first count data
[v] button to show one-to-many in table
use thread to be interupted
[v] internal export and view (replacing ant-like variables and showing the document)
generate const class from property file
(x) create xsd through CommonTest with trang.jar
(x) add configuration action (html-tool to edit xml files)
ConfigBeanContainer to configure BeanDefinition for special beans
Nice-To-Have
eval validation annotations
BeanPresenterHelper: test OptionsWrapper
min-search-field + button ==> max-search-field visible. standard: filtering with astericks
add navigation to new sub-class of beandefinition
create wiki-logger
envolve logictable and/or tableprocessor
create GenericOperator from SOperator to read available Operations from xml.
eval language per session
Refactoring:
[v] RegularExpressionFormat ==> RegExpFormat
[v] refactore ScriptUtil: extract Ant calls
[v] util.bean ==> bean
extract bean-package as project
nano.h5 ==> fullrelation
[?] refactore environment property names to use logic path-algorithm
(x) file-access: use Environment.getResource() reading through jar or file system
extract api
Interfaces:
java-interface-jar filled with BeanProxy to be used as mocks
reading xsd through dom - creating beandefinitions (as xml)
BeanEnhancer enhancing Beans having only attributes with getters/setters
Replication / Offline
[-] FileBeanContainer serializing all lists of all BeanCollectors
[-] GenericBeanContainer using filled FileBeanContainer re-attaching all serialized bean lists
mechanism to synchronize local and remote database - no serialization needed.
Validate against Html5-xsd in debug mode
include LogicTable?
(x) check starting application multiple times
depends on the datamodel: gruppe --> grupperolle(only for specific gruppe) --> rolle
The new item has to be put to the list of it's parent container. This list has to be saved before the new item!
The beancollector now holds a
Problem: Filtering on Entities doesn't work (findBetween is not able to do a between for 'entity-columns')
[v] Problem: Filtering BeanCollectors of Entities doesn't work after sorting twice
internationalization: english RegExpFormat on date, date-time
[v] remove config path from environment (-->transient)
dynamic jar-loading inside used standard jars does not work without static entry in manifest
Argo-UML 0.34
how to create ddl from model
PowerDesigner
[v] create ant-script:
[v] sql-statements with ddl
[v] hibtool hbm2java
[v] replace jdbc-connection-properties
[v] start nano.h5
jmeter integration test
automated crud test (pushing search/new/delete buttons for all entity types), profiling and counting errors in log-file
multiple type/format evaluation in BeanValue (new member for type?) Presentable and BeanPresentationHelper
(x) permission configuration
waiting message - new thread, answering on finish (e.g. on generating)
provide last exception of log-file
use actual h2 or hsqldb
[-] extend layout-managment for nested beans <- extend your bean-definition with attributes of other beans.
(x) generic navigation through hsql statements
bean navigation actions
ERRORS
hsqldb 1.8 is not able to do select max(count(color)) from Colors group by color
hibernate3 is - on special circumstances - not able to load fields with empty ('') strings. This results in an java.lang.StringIndexOutOfBoundsException: String index out of range: 0
failure: presentable.layout --> simple-xml: Transform of class java.util.LinkedHashMap not supported
[v] failure: sorting numbers/currencies sorts as strings
BeanPresentationHelper.defineAdditionalAttributes(): how to avoid javaassist class
presentation not written to xml --> see first failure
every bean gets a new beandef copy with copies of attributedefs --> attributedef evaluations for every bean!
one-to-many: if no cascade-type is defined,the attribute should not be editable!
hibernate-tools generates id-beans like times-->timesid.
(x) check for @id is no standard-java-type and environment.show.id.fields is true
(x) BeanPresentationHelper fills all id-bean fields as virtuals to the main bean
on export, the filtered names (like id) are given --> nullpointer
performance/memory: create only specific bean/beanvalue instances for changed values - use definition-instances if possible.
field-order of bean-def may change after new compile --> serializing/deserialings will differ, see CommonTest
Value class extends attributedefinition and beanvalue
RuleAttr --> RuleValue?
temp value registering through environment
all generic interfaces registered in environment (IAttributeDefinition, IBeanDefinition, IBeanContainer, ..) to be extendable
[v] refactore attribute-def-hierarchy: attributedefinition should not extend beanattribute. what to do with beanvalue?
how to fill virtual beans ? default-values may be checked with errors, serializings...?
AttributeConfiguration with value-expression
Views with expression as listing output
DirectSQL: SQL or HQL
TableProcessor
LogivView: LogicTable
JMeter as macro configuration
[-] html-frames as perspective (left side: beans and views)
[v] refactore ForwardedException. delete FormattedException. Stacktrace with member-info
perhaps use findjar.com before invoking maven-repository
in jdk1.7 it is possible to close a classloader (unlocking and reloading jar-files is now possible). but the URLClassLoader doesn't use this mechanism yet.
[v] NetworkClassLoader should recognize resources (e.g. for loggers) to avoid reloading from network every time.
ebean uses an own query language but is able to 'parse' an ansi sql statement
ormlite needs field-annotations - while hibernate-tools only create property/method annotations
[v] problems on event 'onchange' with value = 'function() {...}' on attachments
use any tool to create an uml class diagram with persistent stereotypes and export an xmi file
generate a ddl file from xmi through xsl transformation
generate java class files through the ddl file with hibernate or openjpa
use tsl2nano to have a full application through the generated model
adapt the standard gui-design (xml-files) of tsl2nano to fit your requirements
Note: xmi2ddl.xls no script found
h3. Tools
h4. Permutator
Source: collection of strings
Transf: action to transform source-string
swap : whether to swap keys and values
Dest : property map with: source-string=transformation
Trial : action on each dest-key, checking if action-result equals key-value
: distributing the work to many stations
Terminal:
** status-bar: space, time, time-last-action, count(items-changed), user
** own jar file
** network classloader
** (x) if only one item available --> select it
** file-selector
** picture viewer (asciipicture)
** beanexaminer ;-)
[-] automatische Uebersetzungen einer messages.properties ueber restful (--> Google �bersetzer)
Volltextsuche
Query wird bei jeder Aktion ausgef�hrt - um den Context zu aktualisieren
Triggers:
** [v] start search, if not more than 20 entries
** [-] create new, if no entry available
** [v] assign entry , if only one available
[v] show count on beancollectors
(x) Terminal: +pegdown (markdown processor)
home-page on: /home/user-web/s/sn/snieda/htdocs
Test App starten!
beandef.xsd in *.xml integrieren
terminal: flat mode (super-tree with selection e.g. 1.1.1)
[v] terminal: scans --> varargs like String...
(x) SecurityManager ausschalten und eigene policy in jar ausliefern
signing: probleme beim start von ant script reverseeng.xml: LogFactory
property jnlpx.origFilenameArg (how to get the root jar from jnlp)
admin-anyway.sql verlagern, damit es bei jnlp nicht angezogen wird
[v] jnlp: funktioniert erst beim zweiten Start <-- jars abwarten
was tun, wenn zum zweiten Mal generiert wird und schon Klassen in generated-src vorhanden sind? diese sind dann von jpa nicht ladbar.
doc+test rulescript, actionscript (javascript)
[v] kion: javax.persistence.PersistenceException: org.hibernate.PropertyValueException: not-null property references a null or transient value : de.eom.kion.beans.festsetzung.steuerakte.Austrittregel._austrittregel_BUNDESLANDIDBackref
Doc: Verwende am besten Chrome+Hibernate+Hsqldb
implement XmlPresentableConverter to provide readable xml files
test: create random data through lists with: german-names.lst, cities.lst, countries.lst, banks.lst
rules:
** [v] RuleCover
** integration of external rule engines like visual rules, drools
** entscheidungstabelle --> csv-Datei --> rule-xml, --> tree (graphviz)
trace: Runtime.traceInstructions
webstart: JAVA_VM_ARGS
SEO: page ranking mit Seorch, diagnoSEO
Argumentator --> GetOpts
[v] QueryResult, Statistics sollten wie BeanDefinition konfigurierbar sein.
--Zeiterfassung (anyway):
Organisation -> Betrieb, Mandant
Party -> Mitarbeiter
Category -> Art des Kunden
Area -> Kunde
Type -> Typ des Dienstes
Item -> Projekt
Classification ->
Charge -> Zeiteintrag
Discharge -> Abrechnung
--Bestellung+Kasse (anyway):
Organisation -> Betriebe
Party -> Betrieb/Admin/Mitarbeiter / Kunde
Mission -> Bedienung etc
Category -> Reservierung / Bestellung
Area -> z.B. Lokal/Restaurant
Type -> Nicht definiert / Getränk / veg. Speisen / Speisen / Nachtisch ...
Item -> z.B. Tisch 1 o. Wasser
Classification -> schnelle Lieferung / Standard
Charge -> Anfrage (Bestellung, Reservierung)
Discharge -> Kasse
--Haushalt (anyway):
Organisation -> Haus
Party -> Bewohner
Category -> Typ der Einteilung (Zimmer/Keller, ...)
Area -> Einteilung (Wohnzimmer o.ä.)
Type -> Typ der Aktion (Wischen)
Item -> Gegenstand (K�chenherd)
Classification ->
Charge -> Aktion pro Zeit in bezug auf Gegenstand
Discharge -> Abgeltung
NanoAnd:
jar-file: #anyway.jar
--> javax.persistence.PersistenceException: No Persistence provider for EntityManager named genericPersistenceUnit
-->
Problem bei Eingabe im Timesheet wahrscheinlich in:
NanoWebSocketServer.injectChangeObject(IValueDefinition)
AbstractDependencyListener.setStateObject(..)
User-Agent(Mobile) (store in Session-Thread) in Html5BeanPresentation as filter?
ERROR: persistence loaded in nano app instead of session - using this on all sessions
-> eigentlich correct implementiert, siehe NanoH5.connect(..)
Schulverwaltung (Noten-Listen):
Klassen-Raum
Resource
Kontroll-Enum
Status-Enum
Durchschnitts-Noten pro Schueler
Durchschnitts-Note pro Kontrolle
Durchschnitts-Note, Anzahl-Sch�ler pro Klasse
Note für Schüler zusammengesetzt aus Kontrollen
Schulplanung?
YAML2DDL (mapOfMaps):
Schule:
id: primary-key
int
not-null
default: 1
lehrer:
set(Lehrer)
name:
string
Schueler:
id
klasse: Klasse.id
keywords: class, from, until, order, table, column, view, like
constraints on methodaction: +predefined sets (all classes, all beans, all bean-attributes)
create standard actions: print, crypt, etc.
fill messages.properites with all configurator action names
Tutorial-Plan
I:
download
run with name
model from ponyorm
copy as database
ok --> create environment
model: item, party... -> icon, value-expression, attribute order
model: charge -> create compositor
II:
rename, run photo
memorize user
set layout: style=background-image: url(icons/beanex-logo.jpg)
[v] de.tsl2.nano.h5.timesheet.ActionImportHolidays in test ?
Message beim Öffnen, Schliessen, Neu, ...
Zeitmessung falsch
Exception 'collection is empty but must contain at least one item'
quicksearch schränkt such-ergebnis nicht ein
[v] Performance bei BeanCollector.onActivation
[v] ETimer -> keine Entity? <- from, until muss umbenannt werden
[v] Relationen alle als Binary <- bijective manytoone, joincolumn
[v] jarFile mit Suchvorschlägen aus sql, jar funzt nicht, wegen falscher BeanValue-instance
[v] ref. RuleCover --> bean extracting super class AttributeCover (RulePool is in specification)
[v] Test new annotations
[v] Test attachments
test https and use it as default
[v] check, why NanoWebSocketServer is not connected to client
[v] gimmicks not as default!
what if table not loaded, but gimmick active?
[v] Controller: go straight into the most reasonable entity and show directly all actions
h2-lucene integration <-- problem in h2
[-] hibernate-lucene integration (since hib 5.0)
[v] show picture instead of valueexpression
[v] send broadcast)only to users defined by a rule (message context defined by rule, too)
WebsocketExceptionHandler.server.session.main.sessions with websocket.address = session.address
send bean attribute to session.authorization
error in configuration? <-- only on first start + initialization
bei mvn clean install wird anyway generiert, websocket ist nicht ansprechbar
nach erneutem start über run.sh (falscher jar-file name) ist login nicht möglich , wegen falschem login/passwd
test mavengenerator+tsl2spring-archetype
[v] index und controller nicht startbar <-- mvn install muss ein zweites mal ausgeführt werden
[x] wo werden bean java klassen generiert? class files sind vorhanden <-- absolut path in project