Hi,
because on Friday I finally merge in webclient yast model I create short summary of both models, its features and why you should use it.
webservice model:
Inspired by ActiveModel. It adds methods for easy validation, serialization, mass loading and callbacks.
for example usage see Ntp and time plugins.
For documentation see - class BaseModel::Base (I cannot connect to hudson for direct link)
why use it?
smart to_xml and to_json so you don't need to define own method unless you have hash with problematic keys (see time model for example how to solve it)
validations which checks attributes before save
same behavior as ActiveRecord and ActiveResource
webclient model:
Adaptation of ActiveResource to our case of changing site and credentials to target machine. It adds method model_interface which sets interface for model and fix finding single resource. Also helper methods for HttpMock which tests ActiveResource is added.
for example usage see Time plugin or network plugin.
For documentation see module YastModel::Base
example of usage:
class Stime < ActiveResource::Base
extend YastModel::Base
model_interface :'org.opensuse.yast.modules.yapi.time'
end
why use it?
you can add functionality to model, so no more controllers which have more then one page
same usage as any ActiveResource model, so new programmer is not confused what we using
easier testing (there is still place to improve it), but I found that many plugins doesn't have test or test is really simple and don't cover enough code.
for testing see how looks tests in network or time module.
Thanks for attention and I welcome any comments, suggestion or bugs ( ..bugs are not so much welcome, but I fix it)
Josef
--
Josef Reidinger
YaST team
maintainer of perl-Bootloader, YaST2-Repair, webyast (language,time,basesystem,ntp)
--
To unsubscribe, e-mail: yast-devel+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-devel+help(a)opensuse.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
i'm not (yet) a developer, but i would like to ping who of you work on
yast2 DVD installer.
openSUSE_11.3 will provide (finally) the new DE called LXDE [1]
coolo already putted it on the DVD [2]
i wonder if any of you could begin to add the "lxde option" to DE
selection during installation, it should go under "other" like xfce.
That because is really important for us to test as soon as possible how
that new DE work with a clean installation and how eventually improve
patterns.
For any information you need, i'm here, just ask!
Regards
Andrea
[1] http://en.opensuse.org/LXDE
[2]
http://www.gitorious.org/opensuse/patterns/commit/26e7f97ca7b8642d76bb8b4d8…
- --
- ------------------------------------------
Andrea Florio
QSI International School of Brindisi Sys Admin
CISCO CCNA Certified
openSUSE-Education Administrator
openSUSE Official Member (anubisg1)
Email: andrea(a)opensuse.org
Packman Packaging Team
Email: andrea(a)links2linux.de
Web: http://packman.links2linux.org/
Cell: +39-328-7365667
- ------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
iEYEARECAAYFAktfWUAACgkQyCZT87TFPuiybwCg3hWbsPbqEs8hf+8pT/hiDr6z
9PEAoMgaC0a0zETcwsp9Q4hpLIodbCDX
=dFgL
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: yast-devel+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-devel+help(a)opensuse.org
Hallo everybody,
I have tried to renew the greman webappearance of YaST (because it was the oldest layout).
Now I am needing some help. I'm getting to the developers documentation, and somethings don't make sense.
-- basic YCP questions
1. Why do we need YCP. (an other scripting language would have done the same trick)
2. Why is YCP type based.
3. What is the use of Symbol and Trem Datatypes in YCP. (not the format)
4. What is the use of Byteblock Datatype.
-- Modul design question
Why is the SCR concept not used like it was defined in the documentation, to be the system IO.
According to the Tutorial one should write a global API of the Modul to access data the Modul works with.
This HACK would be redundant if SCR like described in the documentation, would provide the data.
OK this would meen the SCR tree would be something like the Registry from the evil Empire of Redmond,
founded by Darth Gates. :-)
If anyone could help me, it would meen much to me, thanks.
best regards
Stefan Eisenwiener
Unbegrenzter Speicher, Top-Spamschutz, 120 SMS und eigene E-MailDomain inkl.
http://office.freenet.de/dienste/emailoffice/produktuebersicht/power/mail/i…
mvidner: got packages building, appliance is blocked by iStudio / solve it
mschmidkunz: users module
schubi: log viewer adapted to status module / fix the workstation
jsrain: got the ML for Bugzilla / announce it
jsuchome: mail API change
mzugec: user edit dialog, submit soon / non-WY
lslezak: merged repo-mgmt, packaged it / submit PackageKit patch
dmacvicar: policies cleanup , gem freezing blocked / non-WY
--
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
On Wednesday 27 January 2010 14:40:37 Klaas Freitag wrote:
> All progress we did with object orientation over the years, with patterns
> for example is thrown away with Javascript. Instead we return into dark
> times without versioned libraries for example which don't provide real
> interfaces. Well, ok, I know, Rails for example is really going into the
> right direction, but still: Behind that we often stumble through a dark
> swamp of Javascript. Or who here in the audience has ever fixed a bug in
> jquery for example?
This is not really the case.
Google is using the GWT for their applications to leverage all the Java
knowledge they have internally. The developers code using standard UI widgets,
standard event patterns and the toolkit vomits the necessary javascript from
there.
Javascript and html are still the assembler of the web. And if everyone is
using it is because, compared with assembler, almost everyone can do html and
js.
> Noone would argue that we have great alternatives on the desktop. With
> todays Qt or GTK toolkits nobody would go on a stage and show the "canvas
> example" because it is laughable to ask for applause for drawing a line on
> a canvas. Thats standard for years, using the device specific benefits
> like acceleration. Speaking about cross platform, yeah, you probably know
> that the browsers, in which one plays the Javascript are implemented with
> one of these toolkits, so what is really portable?
I don't think the browser technology is what at least excites me. But the
culture generated by the web-world:
- apps is always server side, so user gets the latest improvements without
install. This allow for a continuous flow of features. Basic of agility.
- designers are part of the process! somebody takes care that stuff looks
great
If you compare the usability of new web apps, usually you can't even remotely
compare them with desktop applications. Qt is a success as a enablement piece,
but there were few or none Qt applications developed with a designer that took
care of the colors, and a UX guy that made the app a joy to use. Most desktop
apps are still designed by developers. Web apps too, but the trend is in the
opposite direction.
> I claim that the only reason why people really want webapps is: They are
> fed up with installing stuff. Installing and updating stuff on a machine
> is pain, early windows versions did a great job to poison all computer
> users with the software-install-does-not-really-work trauma. But wait,
> browsers still need to be installed locally. But that is not so bad as
> they have these neat feature that you only have to click "ok" if it tells
> you that its already old and can be replaced.
No. I am also fed up with mobility. I want to have my stuff elsewhere so I can
turn on a device and see my stuff.
> All I am wondering about: I thought WE are the experts in software
> management? I know we have really great tools for that. So we have all
> bits and peaces together to make it completely easy and enjoyable for
> users to update their desktop (or personal device) software. We are not
> yet there, which I could experience with Fate for example where people
> always complained when they were asked to update. Fate was not asking "Do
> you want me to quickly upgrade myself?" because it was not easy to
> implement. I think we could make these kind of things easy, if we would
> investigate in that, rather than in latest web stuff.
Why people should update their desktops?
See http://dev.chromium.org/chromium-os/chromiumos-design-docs/filesystem-
autoupdate
That is exactly why people wants more webapps. We still assume people want to
do such decisions. If you make people do choices about their system, you are
effectively turning them into sysadmins.
> BTW, please do not associate desktop software with "not using the cloud" or
> internet or so. Everything is possible of course.
I also believe that the desktop has a role in the web world. I dont think
everything will be in browser. KDE is going in the right direction, thanks
that Qt also is doing that. The desktop will be a custom view of the web.
> Please also be sure to check out for example
> http://labs.trolltech.com/blogs/2009/05/13/qt-declarative-ui/
> and see how little code is needed to do really breathtaking UIs with todays
> (gui) toolkits. How long will Javascript need to catch up? Yes, I know, you
> can have Win3.11 in Javascript - but who really is asking for ? ;-)
I tend to agree here. But all this technology will be used to consume web
content. As I said, most iPhone/Android apps are still native apps that give a
nice user interface to web content. That is why we have web services and not
only html. I think the "pure html" vision is flawed, as all extreme visions
are.
--
Duncan Mac-Vicar P. - Novell® Making IT Work As One™
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--
To unsubscribe, e-mail: yast-devel+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-devel+help(a)opensuse.org
YaST hackers & friends,
From today on, we're on Twitter with YaSTie The Aardvark as our mascot. What
does it mean?
* Follow "YaSTees" if you want to learn about the latest and the greatest news
in YaST development (i.e. new features, the most annoying bugs,...)
* If you have any (YaST-hacking-related) news worth mentioning [1] -
typically a shiny new feature, an interesting tutorial on your blog, ... -
please let me know, so I can post a tweet.
Now finally the URL: https://twitter.com/yastees
fB.
[1] a NFSv4 support in libstorage/partitioner is an example of such news :)
--
\\\\\ Katarina Machalkova
\\\\\\\__o YaST developer
__\\\\\\\'/_ & hedgehog painter
Hi!
1.st prototype you can find here:
http://w3.suse.de/~mzugec/users.html
Known issues:
- filter (case insesitive) by fullname & login (now it compares
uppercase with mixed)
- clean filter with button (not working now)
Your feedback is welcome ...
Bye,
Michal
--
To unsubscribe, e-mail: yast-devel+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-devel+help(a)opensuse.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Because i have not write access on yast svn repo, i would like to send
to the list yast2 lxde-pattern icons.
As some of you may already know, lxde in on factory now, the only
missing thing is the installation pattern that i created (based on xfce
one) and submit for merge here:
http://gitorious.org/opensuse/patterns/merge_requests/1
I attached big original LXDE-logo image in the case some of you want to
edit the icons i created... i hope to see it very soon on factory.
Regards
Andrea
- --
- ------------------------------------------
Andrea Florio
QSI International School of Brindisi Sys Admin
CISCO CCNA Certified
openSUSE-Education Administrator
openSUSE Official Member (anubisg1)
Email: andrea(a)opensuse.org
Packman Packaging Team
Email: andrea(a)links2linux.de
Web: http://packman.links2linux.org/
Cell: +39-328-7365667
- ------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
iEYEARECAAYFAktPZ5sACgkQyCZT87TFPugLIwCggPN6cSvC2BbOGksTbBrunMHF
+7oAoKDvHPJfvZoLkQCxWyFQkOya1fYA
=NmYH
-----END PGP SIGNATURE-----
Hi,
the Google I/O 2009 conference keynote talks about and demos
some of the possibilities of web applications.
http://www.youtube.com/watch?v=S5aJAaGZIvk
Highly recommended !
Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: yast-devel+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-devel+help(a)opensuse.org